IT Certification Exams

Configure the SSH Access as required

Configure the SSH Access as required:
Users can visit your two virtual machine systems via clients of domain group3.example.com through SSH remote.

Please see explanation

Explanation:

Solution 1:

Modify file /etc/hosts.allow
Add a line: sshd: 172.24.11.
Modify file /etc/hosts.deny
Add a line: sshd: 172.25.0.

Both of them need to be configured.

Solution 2:

Add a firewall
firewall-cmd –zone=block –add-source=172.25.11.0/24 –permanent firewall-cmd –reload
Both of them need to be configured