nerdexam
Red_Hat

EX300(23Q) · Question #2

Configure SSH access on your virtual hosts as follows. Clients within my22ilt.org should NOT have access to ssh on your systems

vim /etc/hosts.deny sshd: my22ilt.org Save and Exit (:wq) Then run this: systemctl restart sshd Optional: systemctl enable sshd firewall-cmd --permanent --add-service=ssh firewall-cmd --reload

The aspects of cloud security

Question

Configure SSH access on your virtual hosts as follows.
  • Clients within my22ilt.org should NOT have access to ssh on your systems

Explanation

vim /etc/hosts.deny

sshd: my22ilt.org

Save and Exit (:wq)

Then run this: systemctl restart sshd

Optional: systemctl enable sshd firewall-cmd --permanent --add-service=ssh firewall-cmd --reload

Topics

#SSH access control#network restrictions#TCP wrappers#hosts configuration

Community Discussion

No community discussion yet for this question.

Full EX300(23Q) Practice