Using SFTP in Linux
scp is a client similar to FTP, only it transfers file through SSH (meaning it is much more secure). If you want to transfer files without typing a password, be sure to make a SSH certificate.
Usage
You can use the following command to run on your system:
$ scp /backups/fullbackup.tar.gz USERNAME@USERNAME.backupbus.com:Remember to replace USERNAME with your username.
The above command will transfer /backups/fullbackup.tar.gz from your Linux machine to BackupBus.
Suggestions
- Make it so you don't have to type a password with a SSH certificate
- Automate your transfers with a cron job
- SFTP is great for single file transfers, but to transfer more than that, try rsync