Difference between revisions of "Ssh-add"

From wikieduonline
Jump to navigation Jump to search
Line 20: Line 20:
 
  ssh-add -l
 
  ssh-add -l
 
  The agent has no identities.
 
  The agent has no identities.
 +
 +
[[ssh-add -L]]
  
  ssh-add -A
+
  [[ssh-add -A]]
 
  No identity found in the [[keychain]].
 
  No identity found in the [[keychain]].
  

Revision as of 17:41, 30 August 2021

ssh-add adds private key identities to the OpenSSH authentication agent (ssh-agent)

ssh-add
(no output)
ssh-add
Could not open a connection to your authentication agent.

Solution:
Execute ssh-agent
ssh-add id_ed25519_your_key
Enter passphrase for id_ed25519_your_key:
Identity added: id_ed25519_your_key (USERNAME@HOSTNAME)


ssh-add -l
The agent has no identities.

ssh-add -L
ssh-add -A
No identity found in the keychain.


Ubuntu: ssh-add --help


Related terms

See also

Advertising: