Bird
0
0

Which of the following is the correct syntax to start an SSH session to a remote host named server.example.com with user alice?

easy📝 Syntax Q12 of 15
Linux CLI - SSH and Remote Access
Which of the following is the correct syntax to start an SSH session to a remote host named server.example.com with user alice?
Assh alice@server.example.com
Bssh server.example.com alice
Cssh -user alice server.example.com
Dssh connect alice server.example.com
Step-by-Step Solution
Solution:
  1. Step 1: Recall SSH command syntax

    The correct SSH command format is ssh user@hostname, where user and hostname are joined by '@'.
  2. Step 2: Check each option

    ssh alice@server.example.com matches the correct syntax. Options B, C, and D do not follow the standard SSH command format.
  3. Final Answer:

    ssh alice@server.example.com -> Option A
  4. Quick Check:

    ssh user@host = Correct syntax [OK]
Quick Trick: Use ssh user@hostname to connect [OK]
Common Mistakes:
  • Swapping user and hostname order
  • Adding extra flags incorrectly
  • Using non-standard command words

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes