Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation Exam LFCS Topic 9 Question 79 Discussion

Actual exam question for Linux Foundation's LINUX FOUNDATION CERTIFIED SYSTEM ADMINISTRATOR exam
Question #: 79
Topic #: 9
[All LINUX FOUNDATION CERTIFIED SYSTEM ADMINISTRATOR Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B, C

Contribute your Thoughts:

Bette
22 days ago
Haha, D) ssh -o GatewayPort=2222 example.com? Really? Who would use that in the real world?
upvoted 0 times
...
Vanesa
23 days ago
E) ssh example.com:2222 is a valid alternative, but I prefer the more explicit -p option.
upvoted 0 times
Annabelle
19 hours ago
E) ssh example.com:2222 is a valid alternative, but I prefer the more explicit -p option.
upvoted 0 times
...
Lanie
2 days ago
B) ssh -p 2222 example.com
upvoted 0 times
...
Miesha
7 days ago
A) ssh --port 2222 example.com
upvoted 0 times
...
...
Moira
1 months ago
A) ssh --port 2222 example.com is also correct. It's a bit longer but does the same thing.
upvoted 0 times
Maryann
9 days ago
B) ssh --port 2222 example.com is also a valid command to connect to the remote host example.com on port 2222.
upvoted 0 times
...
Skye
22 days ago
A) ssh -p 2222 example.com is the correct command to connect to the remote host example.com on port 2222.
upvoted 0 times
...
...
Yolande
2 months ago
I'm not sure about option E) ssh example.com:2222. It looks like it's trying to connect to a different port on the host.
upvoted 0 times
...
Edna
2 months ago
I agree with Bo. Those options make sense because they specify the port number for the connection.
upvoted 0 times
...
Wilburn
2 months ago
B) ssh -p 2222 example.com is the correct answer. It's a concise and standard way to specify the port for the SSH connection.
upvoted 0 times
Cora
1 months ago
B) ssh -p 2222 example.com
upvoted 0 times
...
Francesco
2 months ago
A) ssh --port 2222 example.com
upvoted 0 times
...
...
Bo
2 months ago
I think the correct answers are B) ssh -p 2222 example.com and C) ssh -o Port=2222 example.com.
upvoted 0 times
...

Save Cancel