Skip to content

Commit

Permalink
Merge pull request cheat#35 from marcusnjones/master
Browse files Browse the repository at this point in the history
Add cheatsheet for ssh-add and update docker
  • Loading branch information
chrisallenlane authored Sep 2, 2020
2 parents 0703cac + f994231 commit b3332f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ docker images

# To remove all untagged images:
docker rmi $(docker images | grep "^<none>" | awk "{print $3}")

# To remove all volumes not used by at least one container:
docker volume prune
5 changes: 4 additions & 1 deletion ssh-add
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
---
tags [ ssh ]
tags: [ ssh ]
---
# To add private key:
ssh-add <keyfile>

# To load resident keys from FIDO2 authenticator:
ssh-add -K

# To store a GitHub SSH passphrase in your keychain:
ssh-add -K ~/.ssh/github_rsa

# To list all public keys:
ssh-add -L

Expand Down

0 comments on commit b3332f6

Please sign in to comment.