improve ssh though gpg agent

This commit is contained in:
Felix Van der Jeugt 2015-01-05 17:17:11 +01:00
parent f17942c98e
commit 40dd68db21
2 changed files with 6 additions and 2 deletions

View File

@ -8,3 +8,7 @@ no-grab
# pinentry-program /usr/bin/pinentry-kwallet
pinentry-program /usr/bin/pinentry-gtk-2
# Cache settings
default-cache-ttl 10800
default-cache-ttl-ssh 10800

4
zshrc
View File

@ -43,7 +43,7 @@ export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export EDITOR="vim"
stty -ixon # turn of <C-s> for vimshell
# GPG-agent
# GPG ssh tty
export GPG_TTY=$(tty)
envoy -t gpg-agent
source <(envoy -p)