diff --git a/yubikey-bootstrap.md b/yubikey-bootstrap.md index b5e867e..297dbee 100644 --- a/yubikey-bootstrap.md +++ b/yubikey-bootstrap.md @@ -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 +``` \ No newline at end of file