EECS
EECS

DCO > Knowledge Base

Main page | Recent changes | RSS Feed
  
How can I use public keys in SSH to login without a password?Last updated 01/15/2019 3:16 PM | Print | Show source | 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