Ubuntu 12.04 SSH server port

  • Posted December 15, 2014

HI everyone, I want to change my ssh server port 22 to 443 and i used this command

‘sudo nano /etc/ssh/sshd_config’

After saving config file i write this command ‘reload ssh’ but server dosen’t answer, Now i can^t connect to my ssh server using 22 and 443 port from putty please help me, this is important!



netstat -na

to check if somethng is LISTENING on port 443 then shutdown that service or change its port

you should also check if there is any firewall rules on that port


hope it helps.

OK, i try 80 port and it’s working, this is useful

thanks for answer but i use only ssh server, no web server.

Are you running a web server with SSL? If so, then your web service would already be using port 443 and you should select a different one. You should be able to access your droplet to do this via the web console in the control panel.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.


In addition to what has been mentioned, I advise against using a reserved port for SSH, 443 is a reserved TCP port for HTTPS:



This comment has been deleted