Difference between revisions of "Ssh-add"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
  
 
  ssh-add id_ed25519_your_key
 
  ssh-add id_ed25519_your_key
  Enter passphrase for id_ed25519_your_key:
+
  Enter [[passphrase]] for id_ed25519_your_key:
 
  Identity added: id_ed25519_your_key (USERNAME@HOSTNAME)
 
  Identity added: id_ed25519_your_key (USERNAME@HOSTNAME)
  
Line 27: Line 27:
 
  [[ssh-add -K]]
 
  [[ssh-add -K]]
  
  [[ssh-add -A]]
+
 +
 
 +
  [[ssh-add -A]], deprecated in fauvour [[--apple-use-keychain]] and [[--apple-load-keychain]].
 
  No identity found in the [[keychain]].
 
  No identity found in the [[keychain]].
  

Latest revision as of 12:34, 24 August 2024

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

ssh-add
(no output)
ssh-add id_ed25519_your_key
Enter passphrase for id_ed25519_your_key:
Identity added: id_ed25519_your_key (USERNAME@HOSTNAME)
ssh-add
Could not open a connection to your authentication agent.

Solution:
Execute ssh-agent


ssh-add -l 
The agent has no identities.

ssh-add -L
ssh-add -K


ssh-add -A, deprecated in fauvour --apple-use-keychain and --apple-load-keychain.
No identity found in the keychain.

Related terms[edit]

See also[edit]

Advertising: