$ curl cheat.sh/
 cheat:ssh-add 
---
tags: [ ssh ]
---
# To add private key:
ssh-add <keyfile>

# To load resident keys from FIDO2 authenticator:
ssh-add -K

# To store a GitHub SSH passphrase in your keychain:
ssh-add -K ~/.ssh/github_rsa

# To list all public keys:
ssh-add -L

# To list fingerprints of all keys:
ssh-add -l

# To delete key:
ssh-add -d <keyfile>

# To delete all keys:
ssh-add -D

 tldr:ssh-add 
# ssh-add
# Manage loaded ssh keys in the ssh-agent.
# Ensure that ssh-agent is up and running for the keys to be loaded in it.
# More information: <https://man.openbsd.org/ssh-add>.

# Add the default ssh keys in `~/.ssh` to the ssh-agent:
ssh-add

# Add a specific key to the ssh-agent:
ssh-add path/to/private_key

# List fingerprints of currently loaded keys:
ssh-add -l

# Delete a key from the ssh-agent:
ssh-add -d path/to/private_key

# Delete all currently loaded keys from the ssh-agent:
ssh-add -D

# Add a key to the ssh-agent and the keychain:
ssh-add -K path/to/private_key

$
Follow @igor_chubin cheat.sh