DCO > Knowledge Base

Main Page | Recent Updates | RSS Feed
  
How can I use public keys in SSH to login without a password?updated 09/23/2009 12:15 PM | Print | Edit | History

If the public key is placed in an authorization file, then ssh will try to match the public key available in the file to the private key stored in your home's .ssh directory. If they match, you login without a password. If they do not match, you are prompted for a password (but if you give a passphrase, you will be asked for that).

To enable this, place the contents of the file ~user/.ssh/id_rsa.pub on the originating machine into a file on the destination machine called ~user/.ssh/authorized_keys


Do you need further assistance? We're here to help. Give us a call, send an email, or just stop by one of our offices.

Was this page helpful? Does it need improvement?

Powered by LionWiki | Admin | Incoming Links