SSH - port 22: Operation timed out
Not sure in which category I had to post this question, but here it is:
I am trying to connect to my server through ssh from my Mac.
I tried ssh root@ksadebiekorf.be. I also tried the username instead of root, I've tried the ip addres instead of the domaine name; but I always got the same message
`ERROR: ssh: connect to host ksadebiekorf.be port 22: Operation timed out`
SSH-acces is shown in cpanel, so it should work. Not sure what I am missing here? Haven't been able to find an answer anywhere, is there anyone who can help with this?
-
Hello! It sounds like you're either using the wrong SSH port or are blocked in the server's firewall. From your local machine, what happens if you install and run nmap to your server's IP address on port 22? Replace the fake IP with your server's IP. Once again, you would run this from the local machine that's having connection issues. nmap 000.000.000.000 -p 22
0 -
Hi! I get the following output: [CODE=bash]Starting Nmap 7.92 ( https://nmap.org ) at 2021-12-07 20:24 CET Nmap scan report for server (x.x.x.x) Host is up (0.0076s latency). PORT STATE SERVICE 22/tcp filtered ssh Nmap done: 1 IP address (1 host up) scanned in 0.59 seconds 0 -
Hi! I get the following output: [CODE=bash]Starting Nmap 7.92 ( https://nmap.org ) at 2021-12-07 20:24 CET Nmap scan report for server (x.x.x.x) Host is up (0.0076s latency). PORT STATE SERVICE 22/tcp filtered ssh Nmap done: 1 IP address (1 host up) scanned in 0.59 seconds
This indicates that there is a firewall issue. "filtered" indicates the port is refusing your connection. You should check with your systems administrator, web hosting provider, etc... To see if your IP may be blocked.0 -
This indicates that there is a firewall issue. "filtered" indicates the port is refusing your connection. You should check with your systems administrator, web hosting provider, etc... To see if your IP may be blocked.
Ok, thank you. I have contacted my hosting provider.0
Please sign in to leave a comment.
Comments
4 comments