### Install Prereqs ``` sudo apt install git scdaemon qtpass ``` ### Import mlaga97@gmail.com PGP key ``` gpg --receive-keys 5F78261B65C565041662A3B7FF8FC3C735BD4A51 ``` ### Learn Smartcard ``` gpgsm --learn-card ``` ### Add the following to `~/.gnupg/gpg-agent.conf` ``` enable-ssh-support ``` ### 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 ```