sshd daemon not running ubuntu 12.04
17,174
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
Author by
Cole Freniere
Updated on September 18, 2022Comments
-
Cole Freniere over 1 year
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.
-
Eliah Kagan over 9 yearsWhat happens when you run
sudo start ssh
? -
Cole Freniere over 9 years
ssh start/running, process 16431
-
AmitNarang over 7 yearsthere is no need to purge openssh-server. After reinstallig sshd daemon will not run. check the permission of /var/run/sshd. It must be owned by root and not group or world writable. change permission chmod 755 /var/run/sshd. It will work .
-