BlackFriday 2024! 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 LFCS exam
Question #: 76
Topic #: 6
[All LFCS 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
5 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
5 months ago
Definitely, the others seem unnecessary.
upvoted 0 times
...
Cherelle
5 months ago
I agree, those are the most straightforward choices.
upvoted 0 times
...
Barbra
5 months ago
I think B and C are the correct options.
upvoted 0 times
...
...
Carma
5 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
4 months ago
Definitely, I would stick to options B and C for safety.
upvoted 0 times
...
Elliott
4 months ago
I agree, those options seem risky.
upvoted 0 times
...
Youlanda
4 months ago
Definitely, sticking with the more standard options is the way to go.
upvoted 0 times
...
Susy
4 months ago
I know right, those options seem risky.
upvoted 0 times
...
Antonio
4 months ago
Definitely, using the standard '-p' option is much safer for connecting to a remote host.
upvoted 0 times
...
Sunny
5 months ago
I know, right? Those options seem like a recipe for disaster.
upvoted 0 times
...
...
Ilda
6 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
5 months ago
C) ssh -o Port=2222 example.com
upvoted 0 times
...
Quinn
5 months ago
B) ssh -p 2222 example.com
upvoted 0 times
...
...

Save Cancel