It's not entirely clear how you got yourself into that situation, so we
can leave this bug marked as "incomplete" so that it will auto expire if
there is no new information in a few weeks.
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to open
Well, restarting sshd remotely has been done for quite some time:
$ ssh root@duo
...
root@duo:~# pidof sshd
14132 2374
root@duo:~# systemctl restart sshd
root@duo:~# pidof sshd
14286 14132
root@duo:~#
Of course, now that your system is in a state where it's showing that
error, care must be taken
Thanks for filing this bug in Ubuntu.
The 1:7.2p2-4ubuntu2.5 openssh update introduced a check in the systemd
service file to prevent the daemon from stopping if there is a
configuration syntax error (bug #1771340). This is done by calling
"/usr/sbin/sshd -t".
It looks like this call worked, from