The command that should be used to apply changes to the SSH configuration file is option C, systemctl reload sshd.
The reload command tells the sshd daemon to re-read its configuration file without terminating any existing connections. This makes it possible to apply changes to the SSH configuration file without disrupting any active SSH sessions.
Using the systemctl reload sshd command will cause the SSH service to reload its configuration file and apply any changes that have been made, without requiring the service to be stopped and restarted. This is the preferred method of applying changes to the SSH configuration file because it allows changes to be made without affecting any currently connected users.
If the systemctl reload sshd command is not available, the systemctl restart sshd command can be used instead. This will stop and start the SSH service, terminating all existing connections and applying the new configuration settings. However, this approach is less desirable because it will cause any active SSH sessions to be terminated.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Alizadeh
8 months, 3 weeks agolinux_admin
1 year, 2 months ago