Add some extra SSH config stuff

This commit is contained in:
Ben Kreeger 2025-07-20 20:37:10 -05:00
parent 88663cb864
commit f50051c4fa
Signed by: kreeger
GPG Key ID: D5CF8683D4BE4B50
2 changed files with 6 additions and 2 deletions

View File

@ -3,8 +3,8 @@
enable-ssh-support
ttyname $GPG_TTY
default-cache-ttl 60
max-cache-ttl 120
default-cache-ttl 720
max-cache-ttl 10080
# allow-loopback-pinentry
# pinentry-program /usr/bin/pinentry-tty

4
ssh/config Normal file
View File

@ -0,0 +1,4 @@
Host localhost
ForwardAgent yes
AddKeysToAgent ask
Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"