Exam GCIH All QuestionsBrowse all questions from this exam
Question 151

What is the destination endpoint host for the SSH session shown below?

ssh - L 1777:192.168.1.80:23 [email protected]

    Correct Answer: C

    The SSH command shown is setting up a local port forwarding. The correct interpretation of 'ssh -L 1777:192.168.1.80:23' is that it forwards local port 1777 to 192.168.1.80 on port 23. Therefore, the destination endpoint host for the SSH session is 192.168.1.80 on port 23.

Discussion
Vikt0rOption: D

D. 192.168.1.70 port 23

Vikt0r

This command sets up local port forwarding, where port 1777 on the local machine is forwarded to port 23 on the remote host (192.168.1.80). The SSH connection itself is made to the host 192.168.1.70.