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

François Pérou francois.perou at free.fr
Fri Apr 9 06:40:37 EST 2010


On Thu, 2010-04-08 at 18:25 +0200, Markus Friedl wrote:
> does
> 	ssh-keygen -D /usr/lib/opensc-pkcs11.so
> print the public keys?

Yes, it does :
ssh-keygen -D /usr/lib/opensc-pkcs11.so
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQDMd48TfLhCcr3QB**************************************3gB4+Zb4h0HS5+EhJiQSZFz5xgdBO7BqowucgYYHr3RX7S+PqNXcp/XO67piNQAn3SFiG01wa0tPXeNqcsA9+r7A2RDGPaLrzbiDpTboMPjyrnZi3b1AFTr/zK7mtb9upaed0aZdx9FFu/w6l7P5KsndWgP
ssh-rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCnsHHbRxDrWQOfj90ybrJbT088FrwojJFHxWPKl1LtnGBSKeTAAzsWst9WcRSao4mF+UDEX6yYCSmVFzWY2xHq0yxoux3xWYu5e***********************************************Ff19FrWaMF25ul+gLFa4iyCykdNI7DvKGUNfIp/KoeHz5yVjiToKtOc+31TZAHcLcBKeUmxCQtyrsR9EQ7MeKHsfot4xotz6YqE/RPve+1dAvTl

> you could also try to start the ssh-agent w/debugging:
> 
> first terminal:
> 	% ssh-agent -d
> 	SSH_AUTH_SOCK=/tmp/ssh-SYLCbU29yI/agent.24984; export SSH_AUTH_SOCK;
> 	echo Agent pid 24984;

Okay.

> 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 :)

Kind regards




More information about the openssh-unix-dev mailing list