CompTIA Linux+ Exam XK0-005 Question # 55 Topic 6 Discussion

CompTIA Linux+ Exam XK0-005 Question # 55 Topic 6 Discussion

XK0-005 Exam Topic 6 Question 55 Discussion:
Question #: 55
Topic #: 6

An administrator added the port 2222 for the SSH server on myhost and restarted the SSH server. The administrator noticed issues during the startup of the service. Given the following outputs:

Which of the following commands will fix the issue?


A.

semanage port -a -t ssh_port_t -p tcp 2222


B.

chcon system_u:object_r:ssh_home_t /etc/ssh/*


C.

iptables -A INPUT -p tcp -- dport 2222 -j ACCEPT


D.

firewall-cmd -- zone=public -- add-port=2222/tcp


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.