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 6 Question 76 Discussion

Actual exam question for Linux Foundation's LINUX FOUNDATION CERTIFIED SYSTEM ADMINISTRATOR exam
Question #: 76
Topic #: 6
[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:

Valentin
3 months ago
I agree, B and C are the way to go. The other options are a bit too complicated or just plain weird.
upvoted 0 times
Martin
2 months ago
Definitely, the others seem unnecessary.
upvoted 0 times
...
Cherelle
2 months ago
I agree, those are the most straightforward choices.
upvoted 0 times
...
Barbra
2 months ago
I think B and C are the correct options.
upvoted 0 times
...
...
Carma
3 months ago
Haha, options A and E are funny. Who would use '--port' or 'example.com:2222' for an SSH command? That's just asking for trouble!
upvoted 0 times
Markus
2 months ago
User2: Definitely, I would stick to options B and C for safety.
upvoted 0 times
...
Elliott
2 months ago
User1: I agree, those options seem risky.
upvoted 0 times
...
Youlanda
2 months ago
Definitely, sticking with the more standard options is the way to go.
upvoted 0 times
...
Susy
2 months ago
I know right, those options seem risky.
upvoted 0 times
...
Antonio
2 months ago
Definitely, using the standard '-p' option is much safer for connecting to a remote host.
upvoted 0 times
...
Sunny
2 months ago
I know, right? Those options seem like a recipe for disaster.
upvoted 0 times
...
...
Ilda
3 months ago
Options B and C are the correct answers. The -p flag and the -o Port=2222 option both work to specify the port for the SSH connection.
upvoted 0 times
Quinn
2 months ago
C) ssh -o Port=2222 example.com
upvoted 0 times
...
Quinn
3 months ago
B) ssh -p 2222 example.com
upvoted 0 times
...
...

Save Cancel