I’m new to SSH. How to copy a .gz file from one server to another using SSH?
I’m using cron to backup mysql databases and want to also automate the process of copying the .gz files a different web host.
Any information on the limit of file size that can be copied would also be great. The backup file size range from 100 MB to few GB.
You can use Remote File Copy (
rcp) orftp.There’s no size limit.
Edit: Secure File Copy (
scp) is the best option.Use it like this: