Originally Posted by tuftystick
I am trying to change a port number on a clients VPS.
The problem is, I have edited the sshd_config & ssh_config restarted the service and the server and now I am unable to login with either port 22 or 2200.
I have tried to connect remotely from the node and from putty and get connection refused...
Are you denoting the right port? I forgot where it is in putty, but it should be pretty apparent.
Things to check:
On the server,
-ensure that ssh is actually running.
-ensure that it's listening on the port you think it is
netstat -a |grep [PORT NUMBER]
On the client
-ensure you can ping the machine, assuming ICMP packets aren't blocked
-ensure you've actually set the port right.
Is there a firewall blocking the port?