From 2792e0b91ace7ede02d2d0c9ef2a9f8e066da7a5 Mon Sep 17 00:00:00 2001 From: jowj Date: Sun, 5 Jan 2020 14:07:00 -0600 Subject: [PATCH] trial of using gpg for ssh auth through yubikey. --- .bashrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.bashrc b/.bashrc index a4d975f..85bded5 100644 --- a/.bashrc +++ b/.bashrc @@ -83,3 +83,12 @@ echo -e "\e[31m || BURIED\e[0m |" echo -e "\e[31m || HATCHET\e[0m | $OSTYPE" echo -e "\e[31m ||\e[0m |" echo "" + +export GPG_TTY=/dev/pts/6 + +gpg-connect-agent updatestartuptty /bye + +unset SSH_AGENT_PID + +export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh +