Passwordless SSH

Quickest way to do passwordless ssh. Found here!
Summary:

  1. local$ ssh-keygen -t dsa
  2. local$ scp ~/.ssh/id_dsa.pub remote
  3. local$ ssh username@remote
  4. remote$ cat ~/id_dsa.pub >> ~/.ssh/authorized_keys
  5. remote$ chmod 644 ~/.ssh/authorized_keys

Leave a Reply