1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages/linux/ssh-add.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

24 lines
478 B
Markdown

# 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.
- 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`