nerdexam
Linux_Foundation

LFCS · Question #87

Which configuration file would be edited to change the default options for outbound SSH sessions?

The correct answer is D. /etc/ssh/ssh_config. The /etc/ssh/ssh_config file is the global configuration file for the SSH client, used to set default options for outbound SSH connections.

Submitted by ngozi_ng· Apr 18, 2026Service Configuration

Question

Which configuration file would be edited to change the 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

(26 responses)
  • B
    8% (2)
  • D
    88% (23)
  • E
    4% (1)

Why each option

The `/etc/ssh/ssh_config` file is the global configuration file for the SSH client, used to set default options for outbound SSH connections.

A/etc/ssh/sshd_config

`/etc/ssh/sshd_config` is the configuration file for the SSH *server* daemon (`sshd`), controlling incoming connections.

B/etc/ssh/ssh

`/etc/ssh/ssh` is not a standard configuration file; `ssh` is the client executable itself.

C/etc/ssh/client

`/etc/ssh/client` is not a standard SSH configuration file.

D/etc/ssh/ssh_configCorrect

The `/etc/ssh/ssh_config` file contains system-wide default settings for the SSH client program (`ssh`). These settings dictate how the client behaves when initiating outbound SSH connections, such as default ports, ciphers, and authentication methods.

E/etc/ssh/ssh_client

`/etc/ssh/ssh_client` is not a standard SSH configuration file; `ssh_config` is the correct name.

Concept tested: SSH client configuration

Source: https://man7.org/linux/man-pages/man5/ssh_config.5.html

Topics

#SSH Client Configuration#Configuration Files#SSH#Networking

Community Discussion

No community discussion yet for this question.

Full LFCS Practice