1 | | Centinel, you are right. I was getting the password prompt since I wasn't set up in the system for OTP (other than my group designation). I probably would have caught onto this faster had I dug into the notes you left me more in depth, or if I had simply entered random OTPs and noticed the effect. So with the current setup, if my SSH key is good, it prompts me for the OTP (I'm using FreeOTP to generate the OTP). If I input the correct OTP, it lets me on the server. If I put the wrong OTP, it prompts me for my password. If that is wrong, I can't get onto the server. If it's correct, I get logged into the server. So yeah, we need to get the PAM file modified to nail that down, then I think this will all be good to go. I'm about to head to sleep, but we can experiment tomorrow. |
| 1 | Centinel, you are right. I was getting the password prompt since I wasn't set up in the system for OTP (other than my group designation). I probably would have caught onto this faster had I dug into the notes you left me more in depth, or if I had simply entered random OTPs and noticed the behavior was the same. So with the current setup, if my SSH key is good, it prompts me for the OTP (I'm using FreeOTP to generate the OTP). If I input the correct OTP, it lets me on the server. If I put the wrong OTP, it prompts me for my password. If that is wrong, I can't get onto the server. If it's correct, I get logged into the server. So yeah, we need to get the PAM file modified to nail that down, then I think this will all be good to go. I'm about to head to sleep, but we can experiment tomorrow. |