I'm trying to set up a non-standard SSH port (for example: 53425) instead of the default port 22 - on Ubuntu Server 16.04. For some reason, I can't SSH into the server via Putty. Here is what I've done:
- I edited the /etc/ssh/sshd_config file and changed the port to 53425.
- I restarted the sshd service to update the changes.
- I installed UFW and allowed port 53425.
- I reloaded UFW and rebooted computer.
- I looked into the logs /var/log/auth.log and confirmed "Server listening on 0.0.0.0 port 53425.
- I updated Putty to connect to port 53425 instead of 22.
- Nothing happens, no login prompt, and a timeout connection error appears.
It seems like it should be really simple, but for some reason it's not working. Am I doing something wrong here?
Thanks Kind regards