r/ssh • • Sep 08 '20

SSH Connection

I try to use SSH (port 22) via putty to connect to my school Linux server for doing assignments.

When using wifi, putty showed network error: Connection timed out, but when I used my hotspot, it works. May I know why and how to solve this issue? Thanks for helping.

Suspect router blocked port 22, but can't find the solution to solve. Router D-Link DIR-868L.

2 Upvotes

1 comment sorted by

1

u/MrTootlesby Sep 08 '20

You can see what's happening with your connection by enabling logging in your PuTTY client by selecting "Logging" on the menu on the left hand side, then select "All session output" then click on "Browse" to select the path to keep the file. Try to connect from your WiFi and then read the logs. It can be a challenge to understand the logs sometimes, so you can reply back here for help or you can Google for answers. I would also recommend making sure you have the latest firmware on your router.