Some quick notes on the sequence for installing ssh keys.

  1. On local machine, run

    ssh-keygen -t rsa

Do ssh-keygen on the SOURCE host.

  1. Write to file, probably not the same id_rsa you currently have
  2. On SOURCE machine, now should see two files : id_rsa_stuff, id_rsa_stuff.pub
  3. Go to DESTINATION host. Copy key contents of SOURCE id_rsa_stuff.pub into DESTINATION's authorized_keys file.
  4. make sure DESTINATION authorized_keys is permission 600
  5. on SOURCE machine, source the agent - source ~/.ssh-agent (check that .ssh-agent is the filename using ls -a command).
  6. on SOURCE machine, do ssh-add .ssh/id_rsa_stuff
  7. Try it. ssh user@DESTINATION
  8. Should just work with no password.