Added another ssh-keygen example without passphrase

This commit is contained in:
Marius van Witzenburg 2020-03-09 10:16:40 +01:00
parent 022a7d75e2
commit 944435cbd1
No known key found for this signature in database
GPG Key ID: 554DA2C4D1D47FC5

View File

@ -314,10 +314,16 @@ failures at that end. Also the exit code will indicate the number of failures.
```
### Generate SSH key
With passphrase:
```
ssh-keygen -o -a 256 -t ed25519 -f ~/.ssh/id_ed25519-backup -C "Backups <backup@domain.example>"
ssh-keygen -o -a 256 -b 16384 -t rsa -f ~/.ssh/id_rsa-backup -C "Backups <backup@domain.example>"
```
Without passphrase:
```
ssh-keygen -q -N '' -o -a 256 -t ed25519 -f ~/.ssh/id_ed25519-backup -C "Backups <backup@domain.example>"
ssh-keygen -q -N '' -o -a 256 -b 16384 -t rsa -f ~/.ssh/id_rsa-backup -C "Backups <backup@domain.example>"
```
### Speeding up SSH and prevent connection flooding