@ahasenack, of course I could double check. I've done so a few minutes ago and you are right. After trying to reload with a corrupted config file the reload failed but the service is still up and running.
Please see the following output for confirmation:
~~~
root@vbox-xenial:~# systemctl status sshd
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since Do 2018-10-11 11:13:35 CEST; 2min 19s ago
Main PID: 8917 (sshd)
CGroup: /system.slice/ssh.service
└─8917 /usr/sbin/sshd -D
Okt 11 11:13:35 vbox-xenial systemd[1]: Starting OpenBSD Secure Shell server...
Okt 11 11:13:35 vbox-xenial sshd[8917]: Server listening on 0.0.0.0 port 22.
Okt 11 11:13:35 vbox-xenial sshd[8917]: Server listening on :: port 22.
Okt 11 11:13:35 vbox-xenial systemd[1]: Started OpenBSD Secure Shell server.
root@vbox-xenial:~# echo "blah blah" >>/etc/ssh/sshd_config
root@vbox-xenial:~# systemctl reload sshd
Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.
root@vbox-xenial:~# systemctl status sshd
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) (Result: exit-code) since Do 2018-10-11 11:13:35 CEST; 2min 51s ago
Process: 9033 ExecReload=/usr/sbin/sshd -t (code=exited, status=255)
Main PID: 8917 (sshd)
CGroup: /system.slice/ssh.service
└─8917 /usr/sbin/sshd -D
Okt 11 11:13:35 vbox-xenial systemd[1]: Starting OpenBSD Secure Shell server...
Okt 11 11:13:35 vbox-xenial sshd[8917]: Server listening on 0.0.0.0 port 22.
Okt 11 11:13:35 vbox-xenial sshd[8917]: Server listening on :: port 22.
Okt 11 11:13:35 vbox-xenial systemd[1]: Started OpenBSD Secure Shell server.
Okt 11 11:16:15 vbox-xenial systemd[1]: Reloading OpenBSD Secure Shell server.
Okt 11 11:16:15 vbox-xenial sshd[9033]: /etc/ssh/sshd_config: line 89: Bad configuration option: blah
Okt 11 11:16:15 vbox-xenial sshd[9033]: /etc/ssh/sshd_config: terminating, 1 bad configuration options
Okt 11 11:16:15 vbox-xenial systemd[1]: ssh.service: Control process exited, code=exited status=255
Okt 11 11:16:15 vbox-xenial systemd[1]: Reload failed for OpenBSD Secure Shell server.
root@vbox-xenial:~#
~~~
@ahasenack, of course I could double check. I've done so a few minutes ago and you are right. After trying to reload with a corrupted config file the reload failed but the service is still up and running.
Please see the following output for confirmation:
~~~ system/ ssh.service; enabled; vendor preset: enabled) slice/ssh. service
root@vbox-xenial:~# systemctl status sshd
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Active: active (running) since Do 2018-10-11 11:13:35 CEST; 2min 19s ago
Main PID: 8917 (sshd)
CGroup: /system.
└─8917 /usr/sbin/sshd -D
Okt 11 11:13:35 vbox-xenial systemd[1]: Starting OpenBSD Secure Shell server... ssh/sshd_ config system/ ssh.service; enabled; vendor preset: enabled) /usr/sbin/ sshd -t (code=exited, status=255) slice/ssh. service
Okt 11 11:13:35 vbox-xenial sshd[8917]: Server listening on 0.0.0.0 port 22.
Okt 11 11:13:35 vbox-xenial sshd[8917]: Server listening on :: port 22.
Okt 11 11:13:35 vbox-xenial systemd[1]: Started OpenBSD Secure Shell server.
root@vbox-xenial:~# echo "blah blah" >>/etc/
root@vbox-xenial:~# systemctl reload sshd
Job for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details.
root@vbox-xenial:~# systemctl status sshd
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/
Active: active (running) (Result: exit-code) since Do 2018-10-11 11:13:35 CEST; 2min 51s ago
Process: 9033 ExecReload=
Main PID: 8917 (sshd)
CGroup: /system.
└─8917 /usr/sbin/sshd -D
Okt 11 11:13:35 vbox-xenial systemd[1]: Starting OpenBSD Secure Shell server... sshd_config: line 89: Bad configuration option: blah sshd_config: terminating, 1 bad configuration options
Okt 11 11:13:35 vbox-xenial sshd[8917]: Server listening on 0.0.0.0 port 22.
Okt 11 11:13:35 vbox-xenial sshd[8917]: Server listening on :: port 22.
Okt 11 11:13:35 vbox-xenial systemd[1]: Started OpenBSD Secure Shell server.
Okt 11 11:16:15 vbox-xenial systemd[1]: Reloading OpenBSD Secure Shell server.
Okt 11 11:16:15 vbox-xenial sshd[9033]: /etc/ssh/
Okt 11 11:16:15 vbox-xenial sshd[9033]: /etc/ssh/
Okt 11 11:16:15 vbox-xenial systemd[1]: ssh.service: Control process exited, code=exited status=255
Okt 11 11:16:15 vbox-xenial systemd[1]: Reload failed for OpenBSD Secure Shell server.
root@vbox-xenial:~#
~~~
Sorry, that I didn't get it in the first try.
The update looks fine for my, too.