✓ Solved

having issue to connect with my linode server

ssh: connect to host 172.104.18.241 port 22: Connection timed out. please can someone help me?

3 Replies

✓ Best Answer

There are a million reasons why this can happen.

Have you opened port 22 on your firewall?

Have you tried it on Linode's Lish terminal?

What OS did you install?

Did you configure SSH correctly? (Is it running?)

The IP is good since it can be pinged:

ping -c4 172.104.18.241
PING 172.104.18.241 (172.104.18.241): 56 data bytes
64 bytes from 172.104.18.241: icmp_seq=0 ttl=37 time=100.379 ms
64 bytes from 172.104.18.241: icmp_seq=1 ttl=37 time=90.259 ms
64 bytes from 172.104.18.241: icmp_seq=2 ttl=37 time=90.332 ms
64 bytes from 172.104.18.241: icmp_seq=3 ttl=37 time=91.165 ms

--- 172.104.18.241 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 90.259/93.034/100.379/4.256 ms

iam working in powershell. its still not working

Another way to determine where the timeout is occurring and why the connection cannot be made is add the "Verbose" option flags to your SSH command. This would look like this:

ssh $HOST@172.104.18.241 -v
ssh $HOST@172.104.18.241 -vv
ssh $HOST@172.104.18.241 -vvv

Each additional -v provides more granular information about the connection and timeout process. You may also want to check out our guide to troubleshooting SSH connection issues.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct