nerdexam
LPI

201-400 · Question #301

Which /etc/hosts.allow entries will permit access to sshd for users from the 192.168.1.0/24 subnet? (Choose TWO correct answers.)

The correct answer is A. sshd : 192.168.1. D. sshd : 192.168.1.0/255.255.255.0. See the full explanation below for the reasoning.

Question

Which /etc/hosts.allow entries will permit access to sshd for users from the 192.168.1.0/24 subnet? (Choose TWO correct answers.)

Options

  • Asshd : 192.168.1.
  • Bsshd : 192.168.1
  • Csshd : 192.168.1.0 netmask 255.255.255.0
  • Dsshd : 192.168.1.0/255.255.255.0
  • Esshd : 192.168.1.0

How the community answered

(38 responses)
  • A
    76% (29)
  • B
    3% (1)
  • C
    8% (3)
  • E
    13% (5)

Community Discussion

No community discussion yet for this question.

Full 201-400 Practice