ssh-add -s /usr/lib/opensc-pkcs11.so does not work

Damien Miller djm at mindrot.org
Fri Apr 9 11:19:22 EST 2010


On Thu, 8 Apr 2010, Fran?ois P?rou wrote:

> > other terminal:
> > 	% SSH_AUTH_SOCK=/tmp/ssh-SYLCbU29yI/agent.24984; export SSH_AUTH_SOCK;
> > 	% ssh-add -s /usr/lib/opensc-pkcs11.so
> > 	% ssh-add -L
> SSH_AUTH_SOCK=/tmp/ssh-SYLCbU29yI/agent.24984; export SSH_AUTH_SOCK;
> jmpoure at acer:~$ ssh-add -s /usr/lib/opensc-pkcs11.so
> Could not open a connection to your authentication agent.
> jmpoure at acer:~$ ssh-add -L
> Could not open a connection to your authentication agent.
> 
> Houston, we have a problem :)

Don't copy Markus' example literally - the actual SSH_AUTH_SOCK path
is randomised. You will need to copy the SSH_AUTH_SOCK that your ssh-agent
prints.

-d


More information about the openssh-unix-dev mailing list