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: 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?