sshd -t parses the configuration and reports errors without touching the running daemon — the mandatory safety check after any sshd_config edit. The -f flag names the config file to test explicitly. If it prints nothing, the config is valid and safe to apply with sudo systemctl restart ssh.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.