What is SFTP and what is a common command to retrieve a file from a remote server?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

What is SFTP and what is a common command to retrieve a file from a remote server?

Explanation:
SFTP is a secure way to transfer files over SSH, protecting both the data and the authentication process. When you want to fetch a file from a remote server in an SFTP session, you use the get command followed by the filename, which downloads the file to your local machine. For example, after connecting with sftp user@host, you would run get filename to retrieve it. The other choices don’t fit: the Simple File Transfer Protocol isn’t a standard protocol used here, put would upload a file to the server, and delete would remove a remote file rather than fetch one.

SFTP is a secure way to transfer files over SSH, protecting both the data and the authentication process. When you want to fetch a file from a remote server in an SFTP session, you use the get command followed by the filename, which downloads the file to your local machine. For example, after connecting with sftp user@host, you would run get filename to retrieve it. The other choices don’t fit: the Simple File Transfer Protocol isn’t a standard protocol used here, put would upload a file to the server, and delete would remove a remote file rather than fetch one.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy