If opensc is installed, openssh should use it. Also use the patch found here: http://bugzilla.mindrot.org/show_bug.cgi?id=608 to make ssh ask for the pin (use the refined version) Reproducible: Always Steps to Reproduce: 1.grep opensc /usr/portage/net-misc/openssh/*ebuild Actual Results: not found - not used for compiling. Expected Results: compile with opensc if it is installed the patch is not merged by openssh and will not for the while being. markus wants a cleaner solution for the problem, but that will require design changes in openssh, so it is not going to happen soon. the patch isn't exactly dirty and has not side effects, but still not the clean solution markus wants.
USE=smartcard emerge '=openssh-3.8.1_p1-r1'