Password-less Login

From GeneNetworkMediaWiki

Revision as of 16:15, 13 April 2011 by Genenetwork (Talk | contribs)
Jump to: navigation, search

ssh/sftp/scp from A to B without being prompted for a password:

  • Connect to A
  • type: ssh-keygen -t rsa
  • default directory for keyfiles will be ~/.ssh/
  • if you do not want to be prompted, leave passphrase blank
  • copy the contents of .ssh/id_rsa.pub (there should only be one line)
  • place this line on B, in ~/.ssh/authorized_keys
  • That's it, you should now be able to ssh/sftp/scp from A to B without being prompted for a password!
Personal tools