nerdexam
CompTIA

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.

Networking Fundamentals

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

(52 responses)
  • B
    4% (2)
  • C
    2% (1)
  • D
    94% (49)

Why each option

This question asks to identify the correct client-side SSH configuration file for outbound sessions.

A/etc/ssh/sshd_config

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

B/etc/ssh/ssh

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

C/etc/ssh/client

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

D/etc/ssh/ssh_configCorrect

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.

E/etc/ssh/ssh_client

/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

#SSH client#configuration files#ssh_config

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice