A typo in sshd_config can lock you out of a remote machine. A syntax check costs one second.
sudo sshd -t && sudo systemctl reload ssh
sshd -t checks the configuration and keys and exits non-zero when something is wrong. With && the reload only runs if the test passed, so a broken file never reaches the running daemon.
The service is called ssh on Debian and Ubuntu and sshd on most other distributions. Keep your current session open while you test a new login in a second terminal, because a reload does not end existing connections.
Further reading: sshd manual page