IBM
C9010-022 · Question #143
How can ssh access to an AIX 7 system be restricted to the 192.168.0.1/24 subnet?
The correct answer is B. Add the following entry to the hosts.allow file: sshd : *@192.168.0.1/24 Add the following entry to the hosts.deny file: sshd : ALL. See the full explanation below for the reasoning.
Question
How can ssh access to an AIX 7 system be restricted to the 192.168.0.1/24 subnet?
Options
- AAdd the service filter through RBAC with mkauth id=192.168.0.* ssh
- BAdd the following entry to the hosts.allow file: sshd : *@192.168.0.1/24 Add the following entry to the hosts.deny file: sshd : ALL
- CAdd the following entry to the /etc/ssh/sshd_config file: AllowUsers @192.168.0.
- DSet AIXPert to High Level Security Add the AIXPertGroup xml tag in /etc/security/aixpert/core to 22 Add the AIXPertArgs xml tag in /etc/security/aixpert/core to allow=@192.168.0. deny=all
How the community answered
(54 responses)- A2% (1)
- B76% (41)
- C15% (8)
- D7% (4)
Community Discussion
No community discussion yet for this question.