On Mon, Feb 29 2016, Michael Albinus wrote: > There is the recommendation to use ssh-agent, which is always good. Indeed. And if - you want to type the passphrase only once at the start of your X-session - and your ssh-passphrase is the same as your gpg-passphrase - and the passphrase should never expire - and ssh-connections should work from cron-jobs, then you could - copy the attached askpass.lisp file to ~/bin - and fill the list of the fingerprints - and copy the attached gpg-agent.conf to ~/.gnupg - and put these 2 lines to your ~/.xinitrc: SSH_ASKPASS=~/bin/askpass.lisp ssh-add echo $SSH_AUTH_SOCK >~/.ssh/ssh-auth-sock - and start your cron-job shell scripts with export SSH_AUTH_SOCK=`cat ~/.ssh/ssh-auth-sock` -- Peter