Question

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

Posted March 4, 2021 492 views
DigitalOcean Cloud Firewalls

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.

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.

×
Submit an Answer
2 answers

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:

  • sudo netstat -plant | grep ssh

Hope that this helps!
Regards,
Bobby

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