Difference between revisions of "Ssh-add"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
ssh-add | ssh-add | ||
(no output) | (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 | ssh-add | ||
Line 14: | Line 18: | ||
Execute <code>[[ssh-agent]]</code> | Execute <code>[[ssh-agent]]</code> | ||
− | + | ||
− | |||
− | |||
[[ssh-add -l]] | [[ssh-add -l]] |
Revision as of 12:02, 16 August 2023
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 No identity found in the keychain.
Related terms
See also
ssh-add [ -K | --help ]
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF
Advertising: