R
R
ruslan25702018-11-27 19:37:50
linux
ruslan2570, 2018-11-27 19:37:50

How to fix SSH error?

unable to connect to the server via SSH. the command systemctl status ssh.servicegave an error (pictured), how to fix the error?5bfd72ccd1a2366230173.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aleksey Solovyev, 2018-11-27
@ruslan2570

SSH will fail to start if there are syntax errors in the /etc/ssh/sshd configuration file. The command following command will tell you if any directives are incorrect:
If the configuration test does not return any errors, I would suggest starting sshd in debugging mode, this will provide you with a detailed startup of the service:
First link on google

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question