102-500 · Question #22
Which configuration file contains the default options for SSH clients?
The correct answer is C. /etc/ssh/ssh_config. /etc/ssh/ssh_config is the system-wide configuration file for the SSH client, containing default options that apply to all users when they initiate outgoing SSH connections. It controls client-side behavior such as default port, identity files, and host key checking. Why the…
Question
Options
- A/etc/ssh/sshd_config
- B/etc/ssh/ssh
- C/etc/ssh/ssh_config
- D/etc/ssh/client
- E/etc/ssh/ssh_client
How the community answered
(21 responses)- A5% (1)
- B5% (1)
- C76% (16)
- E14% (3)
Explanation
/etc/ssh/ssh_config is the system-wide configuration file for the SSH client, containing default options that apply to all users when they initiate outgoing SSH connections. It controls client-side behavior such as default port, identity files, and host key checking.
Why the distractors are wrong:
- A.
/etc/ssh/sshd_config- Thedstands for daemon; this configures the SSH server (sshd), not the client. - B.
/etc/ssh/ssh- This is simply the path to the SSH client binary/executable, not a config file. - D.
/etc/ssh/client- This file does not exist; the name has no basis in standard SSH conventions. - E.
/etc/ssh/ssh_client- Also nonexistent; a plausible-sounding fabrication designed to confuse.
Memory tip: Think of the pattern: sshd_config = daemon = server, ssh_config (no d) = client. The presence or absence of the letter d tells you which side of the connection is being configured.
Topics
Community Discussion
No community discussion yet for this question.