GIAC Certified Incident Handler (GCIH) — Question 26
Which of the following SSH commands will start a SOCKS proxy server on the local system?
Answer options
- A. ssh -D 2000[email protected]
- B. ssh -R 9762:localhost:3576[email protected]
- C. ssh -L 0.0.0.0:7324:10.10.10.200:80[email protected]
- D. ssh -L 8895:10.10.10.200:80[email protected]
Correct answer: D
Explanation
The correct answer is A, as the '-D' option is specifically used to create a SOCKS proxy on the specified port. Options B, C, and D utilize the '-R' and '-L' flags, which are for remote and local port forwarding, respectively, and do not establish a SOCKS proxy.