How can I fix this problem when connecting to VPS through Putty?

1

I am getting this error when trying to connect to my Linode VPS using Putty:

Network error: Connection refused

urok93

Posted 2011-09-21T15:04:51.217

Reputation: 207

sounds like you may either be connecting to the wrong host or on the wrong port. Connection is usually refused if a machine is up, but your trying to access it on the wrong port or your being firewalled – madmaze – 2011-09-21T15:22:02.323

Answers

1

Have you read through Linode's guide on connecting? http://library.linode.com/getting-started#sph_log-in-with-ssh-using-microsoft-windows

Failing that, have you tried the Lish console (which allows you to connect out-of-band when your Linode's networking is broken, so that you can go in and fix it)? http://library.linode.com/troubleshooting/using-lish-the-linode-shell

Rob Cowell

Posted 2011-09-21T15:04:51.217

Reputation: 1 273

I can login ok with Lish, but I cannot connect with Putty. The port used is good as I double checked sshd_config – urok93 – 2011-09-21T16:17:36.660

Did you ever resolve this one? Just curious... – Rob Cowell – 2012-09-10T08:40:56.647

1

Its possible your port 22 is not open. Please try opening it with terminal command "sudo ufw allow 22"

Ferro

Posted 2011-09-21T15:04:51.217

Reputation: 11