SSH is not working anymore

Posted February 9, 2019 2.6k views
WordPressUbuntu 16.04

I for the life of me cannot figure out the issue. journalctl -xe says

Failed to start OpenBSD Secure Shell service
Unit ssh.service failed

ssh.service: Unit entered failed state.
ssh.service: Failed with result 'start-l'

also it says no such file or directory for bin/sshd

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

Issue seemed to be with ownership of the file.



Try this at the shell to see if the config has any error(s):

sudo sshd -T