Ubuntu: sshd daemon not running ubuntu 12.04



Question:

The sshd daemon is not running on my machine (Ubuntu 12.04). I have repeatedly re-installed the openssh server and rebooted.

I get no output to this command:

ps -A | grep sshd  

Any help would be greatly appreciated.


Solution:1

Try removing it completely sudo apt-get purge openssh-server

And remove config dir mv /etc/ssh /etc/ssh_old

Then sudo mkdir /etc/ssh

Then install it again sudo apt-get install openssh-server


Solution:2

Thank you for your help! It ended up being that I needed to reinstall openssh-server. I ensured that the ssh was renamed to ssh_old, and I created a new ssh directory. I also had to ensure that any computer I used to remotely access this computer had its known_hosts file in the .ssh directory moved or deleted entirely.

This following website helped me find the solution (the website offers 3 solutions, I did solutions 1 & 3 which finally fixed it).

http://www.cyberciti.biz/faq/warning-remote-host-identification-has-changed-error-and-solution/


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »