I'm experiencing issues with my SSH client on a Linux VM. It works fine on my home network, but now that I'm trying to connect using my school's Wi-Fi, I keep getting a 'connection refused' error when trying to reach the host. Can anyone assist me with this?
3 Answers
Also, just to add, if the ping command is failing as well, it could suggest that the network is restricting certain connections.
First, could you clarify whether your host is at home or on a remote server? That info could help us diagnose the problem better.
You might want to check if your school allows traffic on port 22, since many institutions block it for security reasons.
Is there a way I can check if port 22 is open?

It's a server online from Overthewire.