Skip to main content

Secure File Transfers

Chapter 23: Manage Remote Files Interactively with SFTP

In this chapter, you'll learn what SFTP is, how to navigate and manage files on a remote server interactively, and how to run batch file transfers without a single manual prompt.

In the previous chapter, you learned how to use SCP to copy files between machines, it works in both directions, and it is useful for quick, one-time transfers, but it has a limitation: it only copies files. You give it a file, it transfers it, and that is all

In real Linux server work, things are not always that simple; you may need to look around the remote server to find files, check if a file already exists before replacing it, or rename files after uploading.

So this is where SFTP helps: it lets you connect to a remote system and work with files interactively, just like using a local shell, but on a remote machine.

Learn Linux Fast: 7-Day Crash Course for Beginners
A complete 7-day crash course to help beginners master Linux, the command line, software management, and more. No experience needed!

What Is SFTP

Pro TecMint Β· Root Plan
This Article is for Root Members
Join Root to read the full article and unlock everything

Full Access to Every Article, Course & Certification Track

Join thousands of Linux professionals who use Pro TecMint to advance their careers.

Ad-free access to all premium articles
All courses: Learn Linux, Bash, Golang, Ubuntu and more
RHCSA, RHCE, LFCS & LFCA certification prep
New courses added every month
Private Telegram community & priority support
Root Plan
$8/mo
or $59/year billed annually
Save $37 with annual plan
Start Reading This Article in the Next 60 Seconds
Join Root Plan β†’