Jul 07

1. Generate your public/private keys using ssh-keygen.  Don’t enter a passphrase and just hit enter for the defaults on the rest of the questions asked.

ssh-keygen -t rsa

2. Now copy the id_rsa.pub to the .ssh directory of the remote host you want to logon to as authorized_keys2 .


scp /home/username/.ssh/id_rsa.pub root@crazyedy.com:/home/username/.ssh/authorized_keys2


scp /Users/username/.ssh/id_rsa.pub root@crazyedy.com:/Users/username/.ssh/authorized_keys2

3. That’s it.  You should now be able to type the following command to get into the box without using a password:

ssh root@crazyedy.com

Leave a Reply

preload preload preload