LX0-104 · Question #242
Which of the following configuration files would an administrator edit to change default options for outbound ssh sessions?
The correct answer is D. /etc/ssh/ssh_config. This question asks to identify the correct client-side SSH configuration file for outbound sessions.
Question
Options
- A/etc/ssh/sshd_config
- B/etc/ssh/ssh
- C/etc/ssh/client
- D/etc/ssh/ssh_config
- E/etc/ssh/ssh_client
How the community answered
(52 responses)- B4% (2)
- C2% (1)
- D94% (49)
Why each option
This question asks to identify the correct client-side SSH configuration file for outbound sessions.
/etc/ssh/sshd_config is the configuration file for the SSH daemon (server), controlling incoming SSH connections.
/etc/ssh/ssh is typically the executable binary for the SSH client, not a configuration file.
/etc/ssh/client is not a standard SSH client configuration file location.
The /etc/ssh/ssh_config file contains system-wide default configuration settings for the SSH client, affecting all outbound SSH connections made from that system. This file allows administrators to set parameters like connection timeouts, authentication methods, and port forwarding rules.
/etc/ssh/ssh_client is not a standard SSH client configuration file location; the correct file is ssh_config.
Concept tested: SSH client configuration file location
Source: https://man7.org/linux/man-pages/man5/ssh_config.5.html
Topics
Community Discussion
No community discussion yet for this question.