Dear friends, I am using the latest version of OpenSC and cvs version of OpenSSH. ssh-add -s /usr/lib/opensc-pkcs11.so Enter passphrase for PKCS#11: (I enter PIN code) SSH_AGENT_FAILURE Could not add card: /usr/lib/opensc-pkcs11.so pkcs11-tool --slot 1 -O Public Key Object; RSA 2048 bits label: Public Key ID: 7645d913d5***********54816ff02324c23a7ebf4 Usage: none Certificate Object, type = X.509 cert label: CAcert WoT User's Root CA ID ID: 7645d913d5***********54816ff02324c23a7ebf4 Public Key Object; RSA 2048 bits label: Public Key ID: 6d0534d04a***********49967a2e33571deec58 Usage: none Certificate Object, type = X.509 cert label: StartCom Free Certificate Member's StartCom Ltd. ID ID: 6d0534d04a***********49967a2e33571deec58 ps aux | grep ssh-agent jmpoure 2520 0.0 0.0 20420 600 ? Ss 09:04 0:00 /usr/bin/ssh-agent /usr/bin/gpg-agent --daemon --sh --write-env-file=/home/jmpoure/.gnupg/gpg-agent-info-acer /usr/bin/dbus-launch --exit-with-session /usr/bin/seahorse-agent --execute gnome-session OpenSC is set to maximum debugging. There is no trace of communication of ssh-add with OpenSC. Kind regards, François
Could you please try running you agent with the '-d' flag to place it into debugging mode and retry the ssh-add? You might need to copy and manually set the SSH_AUTH_SOCK environment variable for ssh-add.
ping. Did you try the agent in debug mode?
Created attachment 1871 [details] /home/djm/sshd-subsys-req-log-user.diff log username on subsystem request line
Comment on attachment 1871 [details] /home/djm/sshd-subsys-req-log-user.diff oops, wrong bug for this patch.
No reply to request for a debug trace == no bug.
With the release of OpenSSH 5.6p1 this bug is now considered closed. If you have further problems please reopen or file a new bug as appropriate.