Which two statements are true concerning OpenSSH configuration files?

Which two statements are true concerning OpenSSH configuration files? (Choose two.)OpenSSH commands to access the jopam account without supplying a password

Question:

Which two statements are true concerning OpenSSH configuration files?

Options:

The /etc/ssh/ssh_config file is the global configuration file for the sshd server daemon

If user harhest has an ssh configuration file called /home/harhest/.ssh/config, then this overrides the /etc/ssh/ssh_config file for OpenSSH sessions used by harhest

Copying the /harhest/.ssh/known_hosts file from user harhest on hosta to the /jopam/.ssh/known_hosts file for user jopam on hostb, permits harhest to use

An ssh client uses either id_dsa.pub or id_rsa.pub to authenticate itself without a password, to an ssh server, which checks them into the target users’ authorized_keys file

Correct Answer

The Correct Answer for this Question is

If user harhest has an ssh configuration file called /home/harhest/.ssh/config, then this overrides the /etc/ssh/ssh_config file for OpenSSH sessions used by harhest
An ssh client uses either id_dsa.pub or id_rsa.pub to authenticate itself without a password, to an ssh server, which checks them into the target users’ authorized_keys file

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *