While conducting a security review of a Linux-based server, you must verify the integrity of the SSH service configuration files. Which path is the BEST place to find the default OpenSSH server configuration file?
On most Linux distributions that use OpenSSH, the server daemon reads its settings from /etc/ssh/sshd_config. This file defines security-relevant parameters such as allowed authentication methods, cipher suites, and login restrictions. The other listed paths are not the conventional default: /etc/ssh/ssh_config is for the SSH client, /usr/local/etc/sshd_config is used only on systems where OpenSSH was built or installed under /usr/local, and /var/ssh/sshd_config is not a standard location.
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 difference between sshd_config and ssh_config?
Open an interactive chat with Bash
Why is the /etc/ssh directory commonly used for SSH configuration?
Open an interactive chat with Bash
How can I verify changes made to the sshd_config file?