Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
Services and User Management
Card 22 of 133
22 / 133
Which command checks the syntax of /etc/ssh/sshd_config without starting or restarting the SSH daemon?
Front
Which command checks the syntax of /etc/ssh/sshd_config without starting or restarting the SSH daemon?
Back
sshd -t runs test mode: it validates the configuration file and sanity-checks the host keys, then exits without starting the daemon. That catches errors before a reload locks you out. systemctl daemon-reload only reloads systemd unit files and does not validate sshd_config.
Show the back
Press the card to see the back
Study this deck