Copy file over SSH

1 · Wen Wei Tseng · Sept. 4, 2023, 3:36 p.m.
How to copy files through the secure shell (SSH). scp command § scp works similar to regular copy (cp) command.1 scp [OPTION] [user@]SRC_HOST:]file1 [user@]DEST_HOST:]file2 tar and pipe § tar cvf - $localdir | ssh someone@somemachine '(cd somewhere && tar xBf -)' Secure FTP (SFTP) § Filezilla could access remote servers via the Secure FTP (SFTP) protocol....