Skip to content

Commit

Permalink
ssh-add: add page (now for real)
Browse files Browse the repository at this point in the history
  • Loading branch information
mashehu committed Oct 16, 2017
1 parent 4e85d11 commit 52f0987
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pages/common/ssh-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ssh-add

> Manage loaded RSA or DSA keys in the ssh-agent.
- Add a new 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`

- For MacOS: Add a key to the ssh-agent and the keychain:

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

0 comments on commit 52f0987

Please sign in to comment.