Electrical Engineering and Computer Science

DCO > Knowledge Base

Main page | Recent changes | RSS Feed
How can I use public keys in SSH to login without a password?Last 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.

Powered by LionWiki | Admin | Incoming Links