After a recent upgrade of Ubuntu 12.04, ssh isn't working. Machine is a VM on Linode.
I am getting this error:
$ ssh root@IP-ADDRESS
ssh: connect to host IP-ADDRESS port 22: Connection refused
I have tried NMAP, and it's not showing port 22. At the moment, I have access to the vm, though Linode Lish, so I am able to run the server for now.. but need to fix ssh asap.
Any help or suggestion please?
ssh roo@IP-ADDRESS -vvv
– Panther Sep 28 '15 at 22:37resolved with: sudo apt-get purge openssh-server sudo apt-get install openssh-server
tip: if you are using Linode, use LISH to execute this command, since "LISH is out of band and the direct console access to the Linode, which does not use SSH in any way."
– soomro Oct 01 '15 at 14:15