not able to ssh
Hi,
I have a website hosted by cPanel, and I would like to be able to access it through SSH. I have used the cPanel UI to set up a private/public key pair, but when I attempt to SSH into my site the connection times out. I posted this question elsewhere online and they told me that:
That error message means the server to which you are connecting does not reply to SSH connection attempts on port 22. There are three possible reasons for that:
- ]
- You're not running an SSH server on the machine. You'll need to install it to be able to ssh to it.
- You are running an SSH server on that machine, but on a nonstandard port. You need to figure out on which port it is running; say it's on port 2222, you then run ssh -p 2222 hostname.
- You are running an SSH server on that machine, and it does use the port on which you are trying to connect, but the machine has a firewall that does not allow you to connect to it. You'll need to figure out how to change the firewall, or maybe you need to ssh from a different host to be allowed in.
-
If you don't have root access to this server you'll need to speak with your Hosting Provider (cPanel does not host your website) about this. SSH access is not something that most Hosting Providers offer to Website owners. 1) SSH is running on that server already I would think. 2) & 3), unless you have root access, you won't have access check ports in firewall. 0
Please sign in to leave a comment.
Comments
1 comment