While conducting a security review of a Linux-based server, you are tasked with verifying the integrity of the configuration files for the SSH service. Where is the BEST location to check for the primary SSH configuration file?
The /etc/ssh/sshd_config file is the correct answer because it is the default location for the OpenSSH server configuration file on most Linux distributions. This file contains settings that dictate how the SSH server behaves, including security-relevant parameters such as allowed authentication methods and permitted users. Other directories mentioned may contain configuration files for different purposes or services, but not for the SSH server.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is the purpose of the sshd_config file?
Open an interactive chat with Bash
What are some common settings found in sshd_config?