What port is used for cPanel (SSH) access to remote server?

Our network only allows to use port 80 for SSH Access, so I want to confirm if I can connect to a server using SSH/cPanel using port 80? Thank you in advance

PS: I’m still learning how to use DigitalOcean Components and environment setup.


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.

Hello, @angelicas

As per Bobby’s answer, the default ssh port is 22. You can run the command which Bobby provided in order to check on which port is ssh is listening to.

Regards, Alex

Hi there,

Port 80 is usually reserved for HTTP and is used by web services like Apache and Nginx.

By default, SSH runs on port 22, unless some changes have been made to the SSH config file.

If this is not the case for you, you could find out what port SSH is listening on with the following command:

  1. sudo netstat -plant | grep ssh

Hope that this helps! Regards, Bobby