Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)

Posted by: Pdfprep Category: 102-500 Tags: , ,

Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)
A . ssh –port 2222 example.com
B . ssh -p 2222 example.com
C . ssh -o Port=2222 example.com
D . ssh -o GatewayPort=2222 example.com
E . ssh example.com:2222

Answer: B,C

Leave a Reply

Your email address will not be published.