ssh timeout and console is blackscreen

Posted October 23, 2016 5.2k views

I am trying to ssh into my droplet and i keep getting a timeout.

ssh -p 444 [username]@[ipaddress] [password]
ssh: connect to host [ipaddress] port 4444: Operation timed out

I can ping my [ipaddress] fine. and my website is up.

I also can’t access the console inside the digital ocean dashboard it is only a black screen. Clicking inside the console doesn’t work either.
I just get two errors:
noVNC ready: native WebSockets, canvas rendering
and then finally it says:

Server disconnected (code: 1006)

I have also tripple checked I am using the correct Ip address and port. I have also sshed into my droplet in the past.

any help would be appreciated it.

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.

Submit an Answer
2 answers

sudo service ssh status –> Find if it’s running, if it says stopped –> sudo service ssh start

sudo nano /etc/ssh/sshd_config –> Find where it says ‘Port’, make sure this is indeed 4444, else substitute it in then reconnect.