Question

ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused

  • Posted September 28, 2014

I’m getting this error (all of a sudden) - when trying to ssh into my droplet. Everything used to work and I didn’t change anything. I have tried rebooting the droplet through the admin panel but still have this error…

What could be wrong?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused Hi there! Please someone help,I have been searching for a while but still can’t fix the problem,I get this message after type the command sudo apt-get install htop,now I can login my server,anyone have the same problem?please help.thank all!

Open the Console in cloud.digitalocean.com and type:

reboot

i same this ,dropbear cannot ,refused

This question could end up being a million diffrent things.

Try to login via the console in the DO control panel and run the following command first to see if ssh is actually running:

sudo netstat -plunt | grep ssh