This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
quick_ssh_setup [2011/04/05 00:04]
jdlarios created
quick_ssh_setup [2016/05/09 18:50]
Line 1: Line 1:
 +{{tag>​ssh keys passwordless howto linux}}
 ====== Quick SSH setup for linux lab ====== ====== Quick SSH setup for linux lab ======
Line 10: Line 11:
 mkdir -p ~/.ssh mkdir -p ~/.ssh
 chmod 0700 ~/.ssh chmod 0700 ~/.ssh
-ssh-keygen -t rsa -b 1024 -f ~/​.ssh/​id_rsa -N ""​+ssh-keygen -t rsa -b 4096 -f ~/​.ssh/​id_rsa -N ""​
 cp ~/​.ssh/​id_rsa.pub ~/​.ssh/​authorized_keys cp ~/​.ssh/​id_rsa.pub ~/​.ssh/​authorized_keys
 chmod 0600 ~/​.ssh/​authorized_keys chmod 0600 ~/​.ssh/​authorized_keys

quick_ssh_setup.txt ยท Last modified: 2016/05/09 18:50 by guentdc