How can a user securely transfer a file to a remote server?
The Correct Answer is: B. SCP
SCP (Secure Copy Protocol) is used to securely transfer files between a local and a remote system over SSH (Secure Shell). It encrypts both the file contents and the authentication credentials, protecting them from being intercepted during transmission. This makes SCP a preferred tool for secure file transfers in Linux and Unix-based environments.
Why the other options are incorrect:
A. FTP
File Transfer Protocol (FTP) does not encrypt data or login credentials. This makes it insecure for transferring sensitive files over untrusted networks. Passwords and file contents can be easily intercepted unless used in combination with additional encryption methods like FTPS or SFTP.
C. Telnet
Telnet is a protocol used to access remote systems via a text-based interface. Like FTP, it transmits data—including usernames and passwords—in plain text, making it highly insecure. Telnet is not designed for file transfers and is rarely used today due to security risks.
D. Rlogin
Remote Login (rlogin) allows users to log in to other Unix systems over a network, but like Telnet, it does not encrypt communications. It also lacks proper authentication controls and is not intended for secure file transfers.
Discover a range of courses designed to provide you with the knowledge and skills needed to excel in your chosen field.
You don’t need one month to study and pass your test.
With Prepsaret, it takes you a few days to grasp all the concepts needed to pass your exams