From 17b7fec47cc2ba71786bf3daf2557ee224f3e524 Mon Sep 17 00:00:00 2001 From: Grant Bremer Date: Sat, 21 Sep 2013 13:15:09 -0400 Subject: [PATCH] Fixing bit size to standard 4096 --- cheatsheets/ssh-keygen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cheatsheets/ssh-keygen b/cheatsheets/ssh-keygen index 10a9636..2dd64d9 100644 --- a/cheatsheets/ssh-keygen +++ b/cheatsheets/ssh-keygen @@ -10,5 +10,5 @@ ssh-keygen -p -P old_passphrase -N new_passphrase -f /path/to/keyfile # To remove a passphrase on a key ssh-keygen -p -P old_passphrase -N '' -f /path/to/keyfile -# To generate a 4048 bit RSA key with a passphase and comment containing the user and hostname -ssh-keygen -t rsa -b 4048 -C "$USER@$HOSTNAME" -P passphrase +# To generate a 4096 bit RSA key with a passphase and comment containing the user and hostname +ssh-keygen -t rsa -b 4096 -C "$USER@$HOSTNAME" -P passphrase