Closed eusonlito closed 7 years ago
This may just be because you have PermitRootLogin prohibit-password.
Your password is
Could you try replacing with PermitRootLogin yes
and also try setting this up for a different user?
I'm thinking that OpenSSH probably disallows keyboard-interactive for root if prohibit-password
.
If this is the problem, then the PAM module should log this special case password for easier future troubleshooting.
Yup, that looks like it. https://github.com/openssh/openssh-portable/blob/master/auth-pam.c#L862
Ok, let me try :)
Confirmed, with PermitRootLogin yes
I can login :+1:
I've added a friendly log message that should make this much easier to debug next time.
Thanks!
I have disabled time-based tokens to avoid token timeout problems. I never could to login into server using Public Keys + 2FA (password login not tested).
Installed from this github repository.
My config is:
Current
~/.google_authenticator
file:Google Authenticator APP:
google-authenticator
setup:Code inserted
721690
Debug starting at line 1570:
Debug:
Thanks :)