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

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77