Merge pull request #32 from mariusvw/feature/ssh-keygen

Feature/ssh keygen
This commit is contained in:
DatuX
2020-03-14 22:49:26 +01:00
committed by GitHub

View File

@ -319,6 +319,17 @@ 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