nerdexam
CompTIACompTIA

XK0-005 · Question #1507

XK0-005 Question #1507: Real Exam Question with Answer & Explanation

The correct answer is C: The server's firewall is preventing connections from being made.. The server's firewall is preventing connections from being made, which is causing the connectivity issue. The output of iptables -L -n shows that the firewall is blocking all incoming traffic on port 22, which is the default port for SSH. The output of ssh -v [email protected] sh

Troubleshooting

Question

A Linux administrator is troubleshooting SSH connection issues from one of the workstations. When users attempt to log in from the workstation to a server with the IP address 104.21.75.76, they receive the following message: The administrator reviews the information below: Which of the following is causing the connectivity issue?

Options

  • AThe workstation has the wrong IP settings.
  • BThe sshd service is disabled.
  • CThe server's firewall is preventing connections from being made.
  • DThe server has an incorrect default gateway configuration.

Explanation

The server's firewall is preventing connections from being made, which is causing the connectivity issue. The output of iptables -L -n shows that the firewall is blocking all incoming traffic on port 22, which is the default port for SSH. The output of ssh -v [email protected] shows that the connection is refused by the server. To resolve the issue, the administrator needs to allow port 22 on the firewall.

Topics

#SSH#Firewall#Network Troubleshooting#Linux Networking

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions