GCIH Exam QuestionsBrowse all questions from this exam

GCIH 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]

Show Answer
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

1 comment
Sign in to comment
Vikt0rOption: D
Dec 7, 2023

D. 192.168.1.70 port 23

Vikt0r
Dec 7, 2023

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.