Welcome > Linux > Miscellaneous > Passwordless SSH Login

Passwordless SSH Login

WARNING: This can get you into trouble - use at your own risk!!!

1.  Log into client as user
2.  ssh-keygen -b 1024 -t rsa -N ""
3.  cat ~/.ssh/
Place the above in your copy buffer
4.  Log into server as user
5.  mkdir ~/.ssh && chmod 700 ~/.ssh
6. cat <<EOF >> ~/.ssh/authorized_keys
<paste the above key here>
6.  Log into the server from the client using ssh and the user whose key you created above.

Content Copyright 2003-2014 George Toft