You are not logged in.
I'm using gpg-agent with SSH support: when I try "ssh-add", it returns SSH_AGENT_FAILURE:
$ ssh-add
Enter passphrase for ~/.ssh/id_rsa:
SSH_AGENT_FAILURE
Could not add identity: ~/.ssh/id_rsa
gpg-agent is launched as described in the wiki (gpg-agent --enable-ssh-support --daemon) and the environment variables are being set correctly:
GPG_AGENT_INFO=/tmp/gpg-z0G4d8/S.gpg-agent:3011:1
SSH_AUTH_SOCK=/tmp/gpg-7f1gk4/S.gpg-agent.ssh
SSH_AGENT_PID=3020
The agent is functioning fine for gpg keys, just failing for SSH. Any ideas?
Last edited by tlvince (2011-05-18 15:06:21)
Offline
Since there's little documentation, rather anticlimactically, I solved this by recreating ~/gnupg (export all keys first).
Last edited by tlvince (2011-05-18 15:07:04)
Offline