ssh key and yubikey
I have a cloud-based Debian 9 box that is currently authenticating by yubikey and password. My desire to is to replace the password with an ssh key. The end result would be upon an inbound connection, the yubikey would be inserted and the button pressed and viola, I'm in.
So far I'm able to get the box to auth with ssh keys or the password/yubikey option, but not the ssh-key/yubikey config.
There are several articles online that reference similar issues, but none of them seem to help. Most of them detail disabling PAM, but I need PAM to do the yubikey auth. I've tried various AuthenticationMethods in /etc/ssh/sshd_config as disabling common-auth in /etc/pam.d/sshd but no joy.
Anyone try this?
|