Using SSH without a password

Suppose you have two machines, the local one (you) and the remote one (

To ssh from the local to the server without needing a password, perform these steps:

  1. ssh-keygen -t rsa
    (don’t use a passphrase. Just hit return twice)
  2. scp ~/.ssh/
  3. On the remote machine ( cat ~/ >> ~/.ssh/authorized_keys