nerdexam
ExamsGCIHQuestions#747
GIAC

GCIH · Question #747

GCIH Question #747: Real Exam Question with Answer & Explanation

The correct answer is C: 192.168.1.80 port 23. In SSH local port forwarding, the -L flag syntax is local_port:destination_host:destination_port, so the final destination is the host and port after the colon separator following the local port.

Question

What is the destination endpoint host for the SSH session shown below? ssh - L 1777:192.168.1.80:23 [email protected]

Options

  • A192.168.1.80 port 1777
  • B192.168.1.70 port 1777
  • C192.168.1.80 port 23
  • D192.168.1.70 port 23

Explanation

In SSH local port forwarding, the -L flag syntax is local_port:destination_host:destination_port, so the final destination is the host and port after the colon separator following the local port.

Common mistakes.

  • A. Port 1777 is the local listening port on the client machine, not the destination port on the remote endpoint; 192.168.1.80 is correct but port 1777 is not the destination port.
  • B. 192.168.1.70 is the SSH jump/relay server (the host zmckracken authenticates to), not the final destination endpoint of the tunnel.
  • D. 192.168.1.70 is the SSH server used as the tunnel relay, not the destination endpoint; the traffic is forwarded onward to 192.168.1.80:23.

Concept tested. SSH local port forwarding -L flag syntax and tunnel destination

Reference. https://www.ssh.com/academy/ssh/tunneling/example

Community Discussion

No community discussion yet for this question.

Full GCIH Practice