Ubuntu 12.04 SSH server port

December 15, 2014 2.2k views

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!

  • 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.

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

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

  • use

    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.

1 Answer
Have another answer? Share your knowledge.