nerdexam
Linux_Foundation

LFCS · 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. To configure client-side SSH options for outbound connections, the /etc/ssh/ssh_config file is used, affecting all users on the system.

Submitted by kevin_r· Apr 18, 2026Networking

Question

Which of the following configuration files would an administrator edit to change default options for outbound ssh sessions?

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

(25 responses)
  • A
    4% (1)
  • C
    8% (2)
  • D
    88% (22)

Why each option

To configure client-side SSH options for outbound connections, the `/etc/ssh/ssh_config` file is used, affecting all users on the system.

A/etc/ssh/sshd_config

/etc/ssh/sshd_config is the configuration file for the SSH daemon (server), controlling incoming SSH connections, not outbound client connections.

B/etc/ssh/ssh

/etc/ssh/ssh is typically the SSH client executable itself, not a configuration file.

C/etc/ssh/client

/etc/ssh/client is not a standard configuration file name for SSH client options.

D/etc/ssh/ssh_configCorrect

The `/etc/ssh/ssh_config` file is the system-wide client configuration file for SSH, where default options for outbound SSH connections (like host aliases, connection parameters, etc.) are defined. These settings apply to all users unless overridden by a user's `~/.ssh/config` file.

E/etc/ssh/ssh_client

/etc/ssh/ssh_client is not a standard configuration file name; the correct system-wide client configuration is `ssh_config`.

Concept tested: SSH client configuration file location

Source: https://linux.die.net/man/5/ssh_config

Topics

#SSH client#Configuration files#Networking#File paths

Community Discussion

No community discussion yet for this question.

Full LFCS Practice