2

I'm running a Raspberry Pi with Ubuntu MATE 16.04 (I'm a linux newbie) I installed webmin, so I can see that my ssh server starts on boot, but is inactive I read the posting here:

Start ssh server on boot

and did all the things suggested...

sudo /etc/init.d/ssh start
sudo update-rc.d ssh defaults
systemctl enable ssh.socket

Nothing happens. The service loads on boot, but it's inactive.

list of services related to ssh with status

5
  • 1
    Have you installed the SSH server?
    – user68186
    Oct 10 '17 at 17:48
  • yes... Openssh7.2 Oct 11 '17 at 4:01
  • 2
    Have you tried sshing to the device? Systemd does socket activation, so that the service is started when the socket comes into use.
    – muru
    Oct 11 '17 at 4:04
  • ups, that's it... Oct 11 '17 at 5:26
  • sorry, as i tried the first time, i was in wrong wlan Oct 11 '17 at 5:27
5

Systemd does socket activation, so that the service is started when the socket comes into use. Due to this, you may not actually see an sshd process running after you reboot. Actually sshing to the system should start the daemon.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.