Update 'yubikey-bootstrap.md'

This commit is contained in:
mlaga97 2022-11-24 13:30:50 -06:00
parent c3c98042e3
commit 3a3a27dede
1 changed files with 34 additions and 9 deletions

View File

@ -1,12 +1,37 @@
sudo apt install scdaemon qtpass
### Install Prereqs
```
sudo apt install git scdaemon qtpass
```
gpg --import 5F78261B65C565041662A3B7FF8FC3C735BD4A51.asc
### Import mlaga97@gmail.com PGP key
```
gpg --receive-keys 5F78261B65C565041662A3B7FF8FC3C735BD4A51
```
# Add:
# enable-ssh-support
vim .gnupg/gpg-agent.conf
### Add the following to `~/.gnupg/gpg-agent.conf`
```
enable-ssh-support
```
# Add:
# export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
# gpgconf --launch gpg-agent
vim .bashrc
### Add the following to `~/.bashrc`
```
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
```
### Add the following to `~/.ssh/config`
```
Host git.mlaga97.space
Port 2222
ProxyJump fortress.mlaga97.space
```
### Reload `~/.bashrc`
```
. ~/.bashrc
```
### Test
```
git clone git@git.mlaga97.space:mlaga97/public-notes
```