The remote transfer of Ubuntu files is divided into uploading files and downloading files
The required conditions are:
1. Remote User and IP
2. Scp,rsync and SFTP Software
The software is installed as follows
sudo apt-get install scpsudo apt-get install rsyncsudo apt-get install SFTP
One. Uploading files
Method One:
scp-r FileName [Email protected]_ip:~/remote_position
where filename is the file that needs to be uploaded, username is the remote user name, REMOTE_IP is the remote IP address, remote_position is the remote path
Method Two:
Step 1, log in to the remote user with SFTP
sftp [Email protected]_ip
Step 2, create the destination folder remotely
mkdir Remote_fold
Step 3, upload the local file to the remote
Put-r Local_fold Remote_fold
Two. Download the file
Method One:
rsync-av-e ssh [email protected]_ip:~/remote_filename local_path
Method Two:
Step 1, log in to the remote user with SFTP
sftp [Email protected]_ip
Step 2, download the remote file
Get-r Remote_fold local_position
Ubuntu File Remote Transfer