nerdexam
LPI

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…

Essential System Services

Question

Which configuration file contains the default options for SSH clients?

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)
  • A
    5% (1)
  • B
    5% (1)
  • C
    76% (16)
  • E
    14% (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 - The d stands 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

#SSH client configuration#ssh_config file#SSH fundamentals#System configuration

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice