scdaemon lockup with Yubikey NEO

NIIBE Yutaka gniibe at
Wed Dec 2 08:16:08 CET 2015

On 2015-12-01 at 11:55 +0100, the2nd at wrote:
> There is just one gpg-agent + scdaemon.


> Do you keep the first SSH session open when re-plugging the yubikey?

I don't use Yubikey.  I use OpenPGPcard with card reader and Gnuk
Token.  If you think your problem is Yubikey specific, it would be
good to ask Yubikey community.

I keep the SSH session when I remove my token, re-insert it and.  I
also tried with the setting of 'ForwardAgent yes' in .ssh/config and
used SSH to another remote host.  But I can't reproduce.

To debug your situation, please add 'verbose' in your
.gnupg/gpg-agent.conf and create a file .gnupg/scdaemon.conf with:

debug-level	guru
log-file	/tmp/scd.log

Before your experiment, please set your PIN by default one, because
the scd.log file will include your PIN information.

More information about the Gnupg-users mailing list