[scp, sftp] Transfer files between systems
scp: Secure Copy
scp fileName user@remoteServer:Location
[scp] Secure Copy for more on
SFTP: Secure FTP
By default, if we have openssh installed, we can use sftp.
Connect to a remote machine:
Once you have connected to a remote systems, you can copy files using
sftp> put myFile
will put myFile on your local machine to the machine you are connected to.
- See available sftp commands using
- Both scp and sftp go over Port 22 by default.