Hi, I just got a yubikey 4 and I want to use it as a 2fa on debian servers. I followed doccumentation online but even with howto guides, nothing worked.
I know that the yubikey configuration is correct, I can test the OTP on their online test setup… I got the API key and the secret after the AES key was uploaded to their servers. but if I follow the official guide on their website, I get: -no yubikey required for login -impossible to log in
I planned to add those later.
right now, I want to connect true SSH with a password and the yubikey OTP (wich I setup in quick setup in the personalization tool)
I want to use the yubikey only on two admin’s accounts because I have clients that are running ssh on that server without keys and 2fa.
I tried out with uncommenting @include common-auth and also #auth required pam_yubico.so id=16 debug
I ran in the same problems. Password only wasn’t working anymore and if password+yubikey, it’s the same result. Cannot login
Well, now that I have a ssh key, I can login without password or yubikey… and if I add the rule to need the yubikey for sudo, same problem… impossible to authenticate