102-500 Exam QuestionsBrowse all questions from this exam

102-500 Exam - Question 51


Which configuration file contains the default options for SSH clients?

Show Answer
Correct Answer: C

The configuration file that contains the default options for SSH clients is /etc/ssh/ssh_config. This file provides system-wide default settings for the SSH client, which can be overridden by user-specific configuration files.

Discussion

6 comments
Sign in to comment
Roger95Option: C
Nov 20, 2021

C is correct. [root@rhel8-02 ~]# cat /etc/ssh/ssh_config # $OpenBSD: ssh_config,v 1.34 2019/02/04 02:39:42 dtucker Exp $ # This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for # users, and the values can be changed in per-user configuration files # or on the command line.

lucaverceOption: C
May 26, 2022

They ask for ssh clients. A. refer to sshd ,the ssh deamon server, (where you connect to) C. is the correct answer

Nata4aOption: C
Jul 10, 2020

/etc/ssh/ssh_config

nicolas97
Dec 21, 2020

approvato

DeborahCOption: A
Aug 26, 2020

Isn't the right answer A ("/etc/ssh/sshd_config") ? -> https://www.ssh.com/ssh/sshd_config/ : "The OpenSSH server reads a configuration file when it is started. Usually this file is /etc/ssh/sshd_config, but the location can be changed using the -f command line option when starting sshd."

DeborahC
Aug 26, 2020

Nevermind, I'm used to configure server ssh so I use the file sshd_config. But the question ask about the client file, so it is ssh_config -> https://serverfault.com/questions/343533/changing-ssh-port-should-i-modify-only-sshd-config-or-also-ssh-config "The sshd_config is the ssh daemon (or ssh server process) configuration file. As you've already stated, this is the file you'll need to modify to change the server port. Whereas, the ssh_config file is the ssh client configuration file. The client configuration file only has bearing on when you use the ssh command to connect to another ssh host. So, in this case, you don't need to modify it. It will be other client machines connecting to your server."

lucaverce
May 25, 2022

no, they ask for ssh clients. A refer to sshd ,the ssh deamon server, where you connect to Right answer is C

GuillemOption: C
May 11, 2021

/etc/ssh/ssh_config it's an include to /etc/ssh/ssh_config.d/*.conf, so it's correct.