SSH public key authentication: Difference between revisions

Phobos (talk | contribs)
m Minor edit for consistency in commands
Phobos (talk | contribs)
m Minor edit for consistency in commands (fix to earlier edit)
Line 54: Line 54:
<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 /home/user/.ssh/id_rsa:  
Identity added: .ssh/id_rsa (myaccounts@mymachine)
Identity added: /home/user/.ssh/id_rsa (myaccounts@mymachine)
</syntaxhighlight>
</syntaxhighlight>