Troubleshooting of SSH errors

From LemonWiki共筆
Jump to navigation Jump to search

Troubleshooting of SSH errors

How to resolve the Network error: Connection timed out[edit]

Error message: Network error: Connection timed out


Solutions:

  • Check the IP setting of destination server
  • Check the firewall issue of destination server
  • Switch to different ISP (Internet Service Provider). The connection maybe was blocked by the MIS.

Verify the connection by key in the command telnet <IP> <SSH PORT>

-- Condition 1: Operation timed out

$ telnet x.x.x.x 22
Trying x.x.x.x...
telnet: connect to address x.x.x.x: Operation timed out
telnet: Unable to connect to remote host

-- Condition 2: Connected successfully

telnet x.x.x.x 22
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.
SSH-2.0-OpenSSH_7.4

(press ctrl+c to leave the console)
^C

Further reading

Related pages