CHTJonas

ssh-keygen

Nov 9th, 2016 (edited)
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # RSA keys are favoured when backward compatibility is required.
  2. ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_$(hostname) -C $(hostname) -o -a 500
  3.  
  4. # Ed25519 keys are favoured when backward compatibility is not required.
  5. ssh-keygen -t ed25519 -f ~/.ssh/id_$(hostname) -C $(hostname) -a 500
RAW Paste Data