ablochs
By:
ablochs

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

September 28, 2014 5.7k views

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?

4 Answers

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
  • Thank you for helping out.
    I took a look at the DO console, tried to ssh from the terminal again and it somehow worked - I literally didn't change anything. Weird...

i same this ,dropbear cannot ,refused

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

reboot

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!

Have another answer? Share your knowledge.