Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA Exam XK0-005 Topic 2 Question 31 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 31
Topic #: 2
[All XK0-005 Questions]

A Linux user reported the following error after trying to connect to the system remotely:

ssh: connect to host 10.0.1.10 port 22: Resource temporarily unavailable

The Linux systems administrator executed the following commands in the Linux system while trying to diagnose this issue:

Which of the following commands will resolve this issue?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

I think option C is the way to go. Adding the SSH service to the firewall's public zone should resolve the issue. The other options don't seem quite right.
upvoted 0 times
...
Kristal
8 days ago
Hmm, it seems like the issue is with the firewall. The error message indicates that the remote SSH connection is being blocked, so we need to open up the firewall for SSH traffic.
upvoted 0 times
...
Carlee
10 days ago
I see your point, but I still think option A is the best choice because it specifically adds the service for SSH.
upvoted 0 times
...
Kirby
12 days ago
I disagree, I believe the correct answer is C) firewall-cmd --zone=public --permanent --add-service=ssh.
upvoted 0 times
...
Carlee
18 days ago
I think the answer is A) firewall-cmd --zone=public --permanent --add-service=22.
upvoted 0 times
...

Save Cancel