ssh-add
ssh-add adds private key identities to the authentication agent, ssh-agent. When run without arguments, it adds the files ~/.ssh/id_rsa, ~/.ssh/id_dsa, ~/.ssh/id_ecdsa, ~/.ssh/id_ed25519 and ~/.ssh/identity. After loading a private key, ssh-add will try to load corresponding certificate information from the filename obtained by appending -cert.pub to the name of the private key file. Alternative file names can be given on the command line.[1]
Documentation
- man 1 'ssh-add' [EN]
Parameters
- -x
- Lock the agent with a password.
- -X
- Unlock the agent.
References
- ↑ man 1 'ssh-add'