exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 51 discussion

Actual exam question from LPI's 102-500
Question #: 51
Topic #: 1
[All 102-500 Questions]

Which configuration file contains the default options for SSH clients?

  • A. /etc/ssh/sshd_config
  • B. /etc/ssh/ssh
  • C. /etc/ssh/ssh_config
  • D. /etc/ssh/client
  • E. /etc/ssh/ssh_client
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Roger95
Highly Voted 8 months ago
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.
upvoted 5 times
...
lucaverce
Highly Voted 1 month, 2 weeks ago
Selected Answer: C
They ask for ssh clients. A. refer to sshd ,the ssh deamon server, (where you connect to) C. is the correct answer
upvoted 5 times
...
Guillem
Most Recent 1 year, 2 months ago
/etc/ssh/ssh_config it's an include to /etc/ssh/ssh_config.d/*.conf, so it's correct.
upvoted 1 times
...
nicolas97
1 year, 6 months ago
approvato
upvoted 3 times
...
DeborahC
1 year, 10 months ago
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."
upvoted 1 times
DeborahC
1 year, 10 months ago
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."
upvoted 8 times
...
lucaverce
1 month, 3 weeks ago
no, they ask for ssh clients. A refer to sshd ,the ssh deamon server, where you connect to Right answer is C
upvoted 1 times
...
...
Nata4a
2 years ago
/etc/ssh/ssh_config
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago