nerdexam
EC-Council

212-82 · Question #37

Initiate an SSH Connection to a machine that has SSH enabled in the network. After connecting to the machine find the file flag.txt and choose the content hidden in the file. Credentials for SSH login

The correct answer is C. bob@sam. Option C (bob@sam) is correct because after successfully initiating an SSH connection using the credentials sam/admin@l23 and locating the flag.txt file on the remote machine, the content of that file reads exactly bob@sam - this is the specific string stored in the flag file on

Submitted by viktor_hu· Mar 6, 2026Cloud Security Operations & Incident Response

Question

Initiate an SSH Connection to a machine that has SSH enabled in the network. After connecting to the machine find the file flag.txt and choose the content hidden in the file. Credentials for SSH login are provided below:

Hint:

Username: sam Password: admin@l23

Options

  • Asam@bob
  • Bbob2@sam
  • Cbob@sam
  • Dsam2@bob

How the community answered

(58 responses)
  • A
    7% (4)
  • B
    10% (6)
  • C
    79% (46)
  • D
    3% (2)

Explanation

Option C (bob@sam) is correct because after successfully initiating an SSH connection using the credentials sam/admin@l23 and locating the flag.txt file on the remote machine, the content of that file reads exactly bob@sam - this is the specific string stored in the flag file on that target system.

Why the distractors are wrong:

  • Option A (sam@bob) reverses the correct order and swaps the values, making it a tempting but incorrect mirror of the real flag.
  • Option B (bob2@sam) introduces a fabricated numeric character ("2") after "bob" that does not appear in the actual file content.
  • Option D (sam2@bob) similarly inserts a false "2" and reverses the correct order, making it a compound distractor combining two types of errors.

Memory Tip: Think of it as "bob answers to sam" - in this scenario, bob is the user found on the target machine (sam's machine), so the flag reads bob@sam, not the other way around. When in doubt, remember: the target host name comes last after the @ symbol, just like in a standard username@hostname format.

Topics

#SSH#Remote Access#File System Navigation#Authentication

Community Discussion

No community discussion yet for this question.

Full 212-82 Practice