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 8 Question 81 Discussion

Actual exam question for Linux Foundation's LFCS exam
Question #: 81
Topic #: 8
[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:

Nobuko
4 months ago
I heard the exam proctors are SSH experts, so they'll probably try to trick us with those strange options. But I'm not falling for it!
upvoted 0 times
Anjelica
3 months ago
D) ssh -o GatewayPort=2222 example.com
upvoted 0 times
...
Fannie
3 months ago
C) ssh -o Port=2222 example.com
upvoted 0 times
...
Stephaine
3 months ago
B) ssh -p 2222 example.com
upvoted 0 times
...
Lizbeth
3 months ago
A) ssh --port 2222 example.com
upvoted 0 times
...
...
Maricela
4 months ago
D and E are just weird. Who would use those options? I'm sticking with B and C.
upvoted 0 times
Margurite
4 months ago
Yeah, I always use -p for port and -o for options. B and C are the way to go.
upvoted 0 times
...
France
4 months ago
I agree, D and E seem unnecessary. B and C should work just fine.
upvoted 0 times
...
...
Jonelle
4 months ago
I always mix up the port options. I'm just glad I don't have to remember them on the exam!
upvoted 0 times
Domonique
3 months ago
I always double-check the port option too, it can get confusing.
upvoted 0 times
...
Izetta
4 months ago
E) ssh example.com:2222
upvoted 0 times
...
Hyman
4 months ago
B) ssh -p 2222 example.com
upvoted 0 times
...
...
Rory
4 months ago
I'm not sure, but I think C) and D) could also work since they mention the port
upvoted 0 times
...
Domonique
5 months ago
I agree with Alise, A) and B) make sense because they specify the port number
upvoted 0 times
...
Lillian
5 months ago
B and C are the correct answers. The -p and -o Port=2222 options are the standard ways to specify the port when connecting to an SSH server.
upvoted 0 times
Bernardo
3 months ago
B and C are the correct answers.
upvoted 0 times
...
Cherrie
3 months ago
E) ssh example.com:2222
upvoted 0 times
...
Dolores
3 months ago
D) ssh -o GatewayPort=2222 example.com
upvoted 0 times
...
Karma
3 months ago
C) ssh -o Port=2222 example.com
upvoted 0 times
...
Marisha
4 months ago
B) ssh -p 2222 example.com
upvoted 0 times
...
Salome
4 months ago
A) ssh --port 2222 example.com
upvoted 0 times
...
...
Alise
5 months ago
I think the correct answers are A) and B)
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