SSH listen on 443

  • Posted February 4, 2014


I would like my SSH server (sshd) on my CentOS 6.5 droplet to listen to more than one port. So, I specified 2 ports, 22, and 443. Connecting to it via port 22 works fine, but 443 doesn’t. I made sure that the firewall wasn’t the issue by disabling it, even though I think it was configured correctly. I swapped out 443 in my configuration for any other port (80, 2222, 2223, etc.) and all those ports work for connecting to the ssh server…just 443 doesn’t…it’s weird. I checked that no other servers are holding onto that port (443) either…after starting up sshd, I ran a netstat and saw that it was listening on 443…it just never responds to the request from the SSH client.

Any ideas what I’m doing wrong? Thanks…



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.

Hi, I have the same problem. How were you able to solve this? Thank you so much.

never mind…I had a prerouting rule in there that I shouldn’t have… <br>please ignore this post…