Putty connection Error Message "Network Error:connection refused", Xshell connection Error "Connection failed: (Port 22)"
Tried:
1. Check if the SSH service on the VPS is on, restart the SSHD service: service sshd restart
2. Open the 22nd port on the VPS
3. Allow designated IP SSH login VPS
4. Modify the Windows host Firewall settings, allow the application to access the network, new rules to open the Tcp/ip:22 port in and out
Have been thinking is the problem of local Windows IP is limited, solve the fruitless, and finally focus on the VPS port number 22nd to find the problem:
To view the ports being monitored on the VPS:
NETSTAT-ANP | grep LISTEN
The client port that found the SSHD service column is: 26473
MD is not the default port number 22nd, when the VPS modified ...
Later on Windows with SSH software login to the VPS with the modified port number of 26473 can be correctly logged in
The SSH service on Windows failed to connect to the remote host