CompTIA Linux+ (XK0-005) — Question 140
A Linux administrator modified the SSH configuration file. Which of the following commands should be used to apply the configuration changes?
Answer options
- A. systemctl stop sshd
- B. systemctl mask sshd
- C. systemctl reload sshd
- D. systemctl start sshd
Correct answer: C
Explanation
The command 'systemctl reload sshd' is the correct choice as it reloads the SSH service configuration without stopping the service. The other options either stop the service entirely (A), prevent it from being started (B), or just start the service without applying the new configuration (D).