I'm having a problem where I can ssh normally to my server from my computer, but when I try to connect from a VPS or even from a VPN static IP, I get this:

Oct 9 16:01:21 server1 sshd[1242]: error: PAM: Authentication failure for [user] from [IP]

All IPs were whitelisted in the same way, but I can only access from my home IP. Either the VPS or my home PC with a VPN will generate this error.

What could it possibly be?

New contributor
user3317315 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Can you show the actual failure messages generated by PAM itself? – grawity Oct 10 at 4:54

Your Answer

user3317315 is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.