Update 'yubikey-bootstrap.md'
This commit is contained in:
parent
c3c98042e3
commit
3a3a27dede
|
@ -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:
|
### Add the following to `~/.gnupg/gpg-agent.conf`
|
||||||
# enable-ssh-support
|
```
|
||||||
vim .gnupg/gpg-agent.conf
|
enable-ssh-support
|
||||||
|
```
|
||||||
|
|
||||||
# Add:
|
### Add the following to `~/.bashrc`
|
||||||
# export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
```
|
||||||
# gpgconf --launch gpg-agent
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
vim .bashrc
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue