improve ssh though gpg agent
This commit is contained in:
parent
f17942c98e
commit
40dd68db21
2 changed files with 6 additions and 2 deletions
|
@ -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
4
zshrc
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue