SSH public key authentication: Difference between revisions

Pigs (talk | contribs)
Refactored and cleaned up page, added opening
Phobos (talk | contribs)
m Minor edit for consistency in commands
Line 53: Line 53:


<syntaxhighlight lang="console">
<syntaxhighlight lang="console">
$ ssh-add .ssh/id_rsa
$ ssh-add ~/.ssh/id_rsa
Enter passphrase for .ssh/id_rsa:  
Enter passphrase for .ssh/id_rsa:  
Identity added: .ssh/id_rsa (myaccounts@mymachine)
Identity added: .ssh/id_rsa (myaccounts@mymachine)