Again sorry just wondering if any one could help...
Reported by timm.tem, May 08, 2008
Simon
It would be great if we could use the Yubikey to do Two-factor legacy
Username + password + YubiKey in exactly the same fashion it works on the
website
http://www.yubico.com/demo/index.php.
As currently with the way PAM works anyone who has my key can login to my
server
Thank you
Tim
Comment 1 by dion.rowney, Jun 09, 2008
I am currently try to work on this, however I find myself bringing in the entire
pam_unix module... Is there a better way to avoid code duplication?
Or can my pam_yubico module call the pam_unix module from within?
Comment 2 by kittypee, Jun 13, 2008
This can be done simply by stacking the pam modules separately.
auth required pam_unix.so ...
auth required pam_yubikey.so ...
This causes pam to require both modules to be run, and both must pass. Although this solution again would
require that bug #4 be fixed.
Comment 3 by dion.rowney, Jun 16, 2008
It seems that ssh only will prompt for a password regardless and does not give
multiple methods.
kittypee says that you can stack pam modules which does prompt for Yubikey and Password but putty fails saying Network Error: Software causes connection abort