List of questions
Related questions
Question 362 - XK0-005 discussion
An administrator changed the default port of an SSH server to 2222 on myhost, and clients are not able to connect. The administrator runs some commands and receives the following output:
vbnet
Copy code
$ ssh -p 2222 myhost
ssh:connect to host myhost on port 2222: No route to host
Which of the following commands should be run on myhost?
A.
firewall-cmd --zone=public --add-service=ssh
B.
firewall-cmd --zone=public --add-port=2222
C.
iptables --zone=public --add-service=ssh
D.
iptables --zone=public --add-port=2222
Your answer:
0 comments
Sorted by
Leave a comment first