From 022a7d75e2298cc35b5370b87608408a642b0272 Mon Sep 17 00:00:00 2001 From: Marius van Witzenburg Date: Mon, 9 Mar 2020 10:13:48 +0100 Subject: [PATCH 1/2] Updated readme with ssh-keygen example --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index e4aa570..d1d99eb 100644 --- a/README.md +++ b/README.md @@ -313,6 +313,11 @@ failures at that end. Also the exit code will indicate the number of failures. ``` +### Generate SSH key +``` +ssh-keygen -o -a 256 -t ed25519 -f ~/.ssh/id_ed25519-backup -C "Backups " +ssh-keygen -o -a 256 -b 16384 -t rsa -f ~/.ssh/id_rsa-backup -C "Backups " +``` ### Speeding up SSH and prevent connection flooding From 944435cbd1b17057998a5e6ab291e5a3f8aeb300 Mon Sep 17 00:00:00 2001 From: Marius van Witzenburg Date: Mon, 9 Mar 2020 10:16:40 +0100 Subject: [PATCH 2/2] Added another ssh-keygen example without passphrase --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d1d99eb..2287b14 100644 --- a/README.md +++ b/README.md @@ -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 " ssh-keygen -o -a 256 -b 16384 -t rsa -f ~/.ssh/id_rsa-backup -C "Backups " ``` +Without passphrase: +``` +ssh-keygen -q -N '' -o -a 256 -t ed25519 -f ~/.ssh/id_ed25519-backup -C "Backups " +ssh-keygen -q -N '' -o -a 256 -b 16384 -t rsa -f ~/.ssh/id_rsa-backup -C "Backups " +``` ### Speeding up SSH and prevent connection flooding