I have a remote Ubuntu server that I connect to via SSH on a non-standard port. I also have SSH keys set up and have PasswordAuthentication
set to no
. I am able to connect via PuTTY on Windows machines and ssh
on *nix systems just fine, except from my work network. When I'm at work, I try to connect using my Windows laptop. I am able to connect just fine from this laptop at home but not at work. I thought it might be the issue described in this question but I tried changing the ports without success. I even tried allowing traffic on the non-standard port on my Windows Firewall but no luck.
I also have fail2ban
enabled, but my work IP is not blocked in ufw
or iptables
.
The interesting thing is that before I changed the port, disabled password auth, and started using keys, I was able to connect on port 22 just fine at work. But now from PuTTY it just tells me that the connection timed out.
Any ideas?