Secure Command-Line File Transfer Protocols

A vendor needs to remotely and securely transfer files from one server to another using the command line. Which of the following protocols should be implemented to allow for this type of access? (Choose two.)

  1. SSH Source Reference Answer
  2. SNMP
  3. RDP
  4. S/MIME
  5. SMTP

Community Insight

Tests knowledge of secure transport protocols by distinguishing between management interfaces (RDP) and secure shell/file transfer tools (SSH/SFTP), while filtering out insecure or unrelated options like SNMP and SMTP.

Identifies the correct protocols for secure, command-line-based remote file transfers between servers. Establishes that SSH and SFTP are the standard solutions for this requirement.

Candidates often select RDP because it provides remote access, but RDP is a graphical interface protocol, not suitable for command-line file transfers, and lacks the specific encryption guarantees required for secure data transit in this context.

Community Discussion (3 comments)

7308365 👍 3
A. Secure Shell (SSH) ensures data privacy and security during transfers. It's especially useful for remote servers and sensitive files, as it encrypts the information, making it much harder for unauthorized access. F. Secure File Transfer Protocol (SFTP) uses SSH to encrypt data. SFTP is the most secure protocol because it encrypts both the commands and the data being transferred.
Hs1208 👍 3 Selected: A
A. SSH (Secure Shell): SSH is a secure protocol that provides encrypted communication over a network. It is commonly used for secure command-line access and file transfer between servers. F. SFTP (Secure File Transfer Protocol): SFTP is an extension of the SSH protocol that enables secure file transfer and remote file management. It is commonly used for secure and encrypted file transfers.
LuckyAro 👍 3 Selected: A
A & F Provides secure file transferring protocols.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

The question requires two protocols that facilitate remote and secure file transfers via the command line. SSH (Secure Shell) is the foundational protocol that provides encrypted remote command-line access. SFTP (Secure File Transfer Protocol) operates over an SSH connection, providing a secure method for transferring files. Together, they form the standard solution for secure CLI-based file operations.

Why the Other Options Are Wrong

RDP (Remote Desktop Protocol) is primarily used for graphical remote desktop sessions, not command-line file transfers. SNMP (Simple Network Management Protocol) is used for network monitoring and management, not file transfer, and often lacks encryption by default. S/MIME and SMTP are email-related protocols; SMTP handles mail transmission without inherent encryption for file payloads, and S/MIME secures email content, neither of which addresses direct server-to-server file transfer requirements.

Community Comment Notes

Community feedback strongly supports the combination of SSH and SFTP. Users highlight that SSH ensures data privacy through encryption and that SFTP is built on top of SSH to provide secure file management capabilities. Comments explicitly note that these two protocols work together to meet the security and command-line constraints of the scenario.

Exam Strategy

When asked about secure command-line access or file transfer, immediately look for SSH and its derivatives (like SCP or SFTP). Eliminate graphical protocols (RDP/VNC) and management protocols (SNMP) as they do not fit the 'file transfer' or 'command-line' criteria respectively.

Frequently Asked Questions

Why is RDP incorrect for file transfer?

RDP is designed for graphical remote desktop sessions, not for command-line file transfers. It does not natively support the secure, scriptable file transfer mechanisms required here.

Is SFTP a separate protocol from SSH?

SFTP runs over the SSH protocol. It uses the same encryption and authentication mechanisms as SSH but adds commands specifically for file manipulation and transfer.

Related Analysis

← Back to SY0-601 Study Guide