Skip to content

Commit

Permalink
➕ add SSH key addition
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount authored Aug 5, 2022
1 parent 55d25c8 commit b3b3d4a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sheets/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ gpg -d file.txt.gpg # to show content directly in bash or
gpg -d file.txt.gpg > file.txt # to create decrypted file
```

## SSH

Add existing private SSH key to bash

```bash
chmod 600 private.key # set permissions to be only read-writable by me
eval $(ssh-agent -s) # start ssh agent in background
ssh-add private.key # add SSH private key to bash
```

## PDF

Count the words of a PDF file:
Expand Down

0 comments on commit b3b3d4a

Please sign in to comment.