The issue is reload, not restart.
You should: - get a working normal sshd_config - issue reload, confirm it works - add an invalid option to sshd_config - issue reload
The broken system will kill sshd, whereas the fixed one will refuse to reload but sshd will still be running.
The issue is reload, not restart.
You should:
- get a working normal sshd_config
- issue reload, confirm it works
- add an invalid option to sshd_config
- issue reload
The broken system will kill sshd, whereas the fixed one will refuse to reload but sshd will still be running.