Difference between revisions of "Ssh-add"
Jump to navigation
Jump to search
(→MacOS) |
(→Ubuntu) |
||
Line 25: | Line 25: | ||
− | |||
− | ssh-add --help | + | [[ssh-add --help]] |
unknown option -- - | unknown option -- - | ||
usage: ssh-add [-cDdKkLlqvXx] [-E fingerprint_hash] [-S provider] [-t life] | usage: ssh-add [-cDdKkLlqvXx] [-E fingerprint_hash] [-S provider] [-t life] |
Revision as of 17:37, 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 -A No identity found in the keychain.
ssh-add --help unknown option -- - usage: ssh-add [-cDdKkLlqvXx] [-E fingerprint_hash] [-S provider] [-t life] [file ...] ssh-add -s pkcs11 ssh-add -e pkcs11 ssh-add -T pubkey ...
MacOS
ssh-add --help (MacOS)
Related terms
See also
- 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, ~/.ssh/authorized_keys
Advertising: