DrupalTutorials: How to Use SCP Command to Securely Transfer Files
How to Use SCP Command to Securely Transfer Files
scp [OPTION] [user@]SRC_HOST:]file1 [user@]DEST_HOST:]file2
scp file.txt remote_username@10.10.0.2:/remote/directory
Copy a File Between Two Remote Systems using the scp Command
Unlike rsync , when using scp you don’t have to log in to one of the servers to transfer files from one to another remote machine.
The following command will copy the file /files/file.txt from the remote host host1.com to the directory /files on the remote host host2.com.
scp user1@host1.com:/files/file.txt user2@host2.com:/files
by Drupaltutorials
linux ftp server