sftp

Interactive secure file transfer

medium risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

FTP-like file transfer over SSH. See the flags and examples below, and run `man sftp` for the full reference.

Common flags
FlagMeaning
-PPort
-rRecursive
-bBatch file
Examples
sftp user@hostInteractive session · explain & risk-check →
sftp -P 2222 user@hostDifferent port · explain & risk-check →
Related
scp rsync ssh
Open the full explainer →More in Networking

Reference text is hand-written and may be incomplete — check man sftp for your version. Test destructive commands on a non-production system first.