GIAC Penetration Tester (GPEN) — Question 57

You are pen testing a network and have shell access to a machine via Netcat. You try to use ssh to access another machine from the first machine. What is the expected result?

Answer options

Correct answer: C

Explanation

The correct answer is C because once you have shell access to a machine, you can use SSH to connect to other machines on the network. Options A and D introduce conditions that are not necessary for a successful connection, and option B incorrectly states that the connection will fail.