CompTIA Linux+ (XK0-004) — Question 26

In order to comply with new security policies, an administrator needs to prevent the SSH server from using insecure algorithms.
Which of the following files should be edited to accomplish this?

Answer options

Correct answer: A

Explanation

The correct file to edit is /etc/ssh/sshd_config, as it contains the configuration settings for the SSH server itself. The other options, such as /etc/ssh/ssh_config and ~/.ssh/ssh_config, are used for client-side configurations, while /etc/ssh/known_hosts is for storing known host keys and does not affect algorithm settings.