Exam XK0-005 Topic 4 Question 780 Discussion

Actual exam question for CompTIA's XK0-005 exam
Question #: 780
Topic #: 4
A Linux administrator needs to forward port 8000 on a remote server to port 8000 on a local server. Which of the following commands should the administrator run on the local server to achieve this goal?

Suggested Answer: C Vote an answer

The ssh -R command sets up reverse port forwarding, which allows connections from the remote server to be forwarded to the local machine. In this case, ssh -R 8000:localhost:9000 remote will forward traffic on port
8000 on the remote server to port 9000 on the local machine.

by Enoch at Jun 23, 2025, 06:32 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10