linux_wiki:configure_key-based_authentication

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
linux_wiki:configure_key-based_authentication [2016/09/06 21:45]
billdozor [SSH Key Creation and Distribution]
linux_wiki:configure_key-based_authentication [2016/10/06 21:46]
billdozor [SSH Key Creation and Distribution]
Line 27: Line 27:
   * Prompted for password login   * Prompted for password login
   * Next normal ssh login will be password-less   * Next normal ssh login will be password-less
 +
 +\\
 +__**Key Pair with Passphrase**__
 +
 +If you created the key pair with a passphrase, it is useful to cache the passphrase for a bash session to avoid re-entering it for each ssh connect.
 +
 +\\
 +Start the ssh-agent for the current shell
 +<code bash>
 +ssh-agent bash
 +</code>
 +
 +\\
 +Add the passphrase
 +<code bash>
 +ssh-add
 +</code>
 +  * Prompted for the ssh key passphrase
 +
 +\\
 +Connect as normal with ssh, you should not be prompted for a password if the public key has already been copied to the remote server.
  
 ---- ----
  
  • linux_wiki/configure_key-based_authentication.txt
  • Last modified: 2019/05/25 23:50
  • (external edit)