Which configuration file contains the default options for SSH clients?
Which configuration file contains the default options for SSH clients?
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.
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.
They ask for ssh clients. A. refer to sshd ,the ssh deamon server, (where you connect to) C. is the correct answer
/etc/ssh/ssh_config
approvato
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."
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."
no, they ask for ssh clients. A refer to sshd ,the ssh deamon server, where you connect to Right answer is C
/etc/ssh/ssh_config it's an include to /etc/ssh/ssh_config.d/*.conf, so it's correct.