Report this

What is the reason for this report?

port 22: Connection refused

Posted on December 4, 2013

I was trying to log in my server through Mac Terminal. I typed ‘ssh root@ipaddress’ and it gives me ‘ssh: connect to host ipaddress port 22: Connection refused’. how should I log in? I just forgot :/



This textbox defaults to using Markdown to format your 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.

I’m having the exact same problem since a letsencrypt certificate expired not connection to port 22 what do I do as I cannot access via console either…

I took a snapshot and then tried to launch a larger droplet and now I’m locked out of both. <br> <br>I’m getting: ssh: connect to host xxx.xxx.xxx.xxx port 22: Connection refused

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.