» Linux » Examen sur Linux » Examen 202 : Networking Administration » Section 1 » Question 20/20
20.You have just finished setting up your sshd server. Now you need to state which hosts are allowed access to the system. Which is the correct option to enable this in the /etc/ssh/sshd_config file?

AllowIP IP_ADDRESS IP_ADDRESS
AllowHost IP_ADDRESS IP_ADDRESS
EnableIP IP_ADDRESS IP_ADDRESS
EnableHosts HOSTNAME HOSTNAME

Explanation: You can specify which hosts are allowed access to system by using the AllowHost parameter in the /etc/ssh/sshd_config file. AllowHost is followed by the hostnames or IP addresses of the systems which are allowed access.

Reference: http://www.linuxchix.org/pipermail/techtalk/2000-July/007737.html

Incorrect Answers
A: The correct option is AllowHost, not Allow IP.
C: The correct option is AllowHost, not EnableIP.
D: The correct option is AllowHost, not EnableHosts.

« Question 19