Ubuntu – SSH Daemon doesn’t start normally way

autostartserverssh

I use Ubuntu server 16.04.1 LTS (Kernel 4.4.0-38-generic x86_64).
And Install openssh-server(1:7.2p2-4ubuntu2.1).
At first, I use below.

sudo systemctl enable ssh.service

But sshd doesn't start in boot process.
So, I check this Questions -> (SSH Daemon does not autostart)
And try this article -> (http://blog.roberthallam.org/2010/06/sshd-not-running-at-startup)
However, sshd doesn't start. (sudo service ssh status is dead.)
Of course, I check symbolic link of /etc/rc*.d/S**ssh is created.

Then I added below to /etc/rc.local.

/etc/init.d/ssh start

Finally, sshd does start on boot, but I wonder why normally process doesn't work.
It might be because using usb wireless adapter, but I cannot be sure that.
Please tell me what do you think.

Best Answer

Well make sure openssh-server is installed. If installed already try reinstalling as follows :

sudo apt-get remove --purge openssh-server
sudo apt-get install openssh-server

For Ubuntu 16.04 LTS , there isn't any issue with 4.4 kernel and Linux kernel 4.6 is also compatible as well. If you still have the problem then I recommend you to upgrade your kernel or recompile your kernel.

Related Question