ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - XK0-005 discussion

Report
Export

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?

A.
The workstation has the wrong IP settings.
Answers
A.
The workstation has the wrong IP settings.
B.
The sshd service is disabled.
Answers
B.
The sshd service is disabled.
C.
The server's firewall is preventing connections from being made.
Answers
C.
The server's firewall is preventing connections from being made.
D.
The server has an incorrect default gateway configuration.
Answers
D.
The server has an incorrect default gateway configuration.
Suggested answer: C

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.

The other options are incorrect because they are not supported by the outputs. The workstation has the correct IP settings, as shown by the output of ip addr show. The sshd service is enabled and running, as shown by the output of systemctl status sshd. The server has the correct default gateway configuration, as shown by the output of ip route show. Reference: CompTIA Linux+ (XK0-005) Certification Study Guide, Chapter 13: Managing Network Services, pages 406-407.

asked 02/10/2024
Fernando Pereira dos Santos
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first