LPI
102-500 · Question #174
Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose two correct answers.)
The correct answer is B. ssh -p 2222 example.com C. ssh -o Port=2222 example.com. See the full explanation below for the reasoning.
Question
Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose two correct answers.)
Options
- Assh --port 2222 example.com
- Bssh -p 2222 example.com
- Cssh -o Port=2222 example.com
- Dssh -o GatewayPort=2222 example.com
- Essh example.com:2222
How the community answered
(25 responses)- A4% (1)
- B72% (18)
- D8% (2)
- E16% (4)
Community Discussion
No community discussion yet for this question.