commands.sh

ssh-add

all

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 info →

Examples (6)

Add the default SSH keys in `~/.ssh` to the ssh-agent

Add a specific key to the ssh-agent

ssh-add path/to/private_key

List fingerprints of currently loaded keys

Delete a key from the ssh-agent

ssh-add -d path/to/private_key

Delete all currently loaded keys from the ssh-agent

Add a key to the ssh-agent and the keychain

ssh-add -K path/to/private_key
made by @shridhargupta | data from tldr-pages