ssh-add Command Examples

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.

ssh-add

ssh-add {{path/to/private_key}}

ssh-add -l

ssh-add -d {{path/to/private_key}}

ssh-add -D

ssh-add -K {{path/to/private_key}}