Plink is throwing connection timeout error, even when ping works

edited October 2020 in Machines

I am trying to create SSH tunnel using plink, but I am getting connection error as: "FATAL ERROR: Network error: Connection timed out"

SSH port is not blocked, and target Kali machine is also reachable. What could be the reason for failed connection?

$ sudo ufw status
Status: active
To Action From
-- ------ ----
22 ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)



  • If you read through the threads on the boxes where this matters most, you will see a lot of discussion about SSH being blocked outbound from HTB.

    You need to change the port.



    Happy to help people but PLEASE explain your problem in as much detail as possible! If you say vague things like "It's not working", I cant help. This isn't Twitter so my DMs are always open.

  • Thank you!

Sign In to comment.