There are a number of ways to transfer files between Linux systems, and this blog describes two of them. is often used in the development process.
In general, individuals often use the RZ or SZ commands to upload the download file. rz sz upload download
Install Rz,sz, the operation is very simple.
Yum Install Lrzsz
After installation, you can perform basic upload download operations:
Perform the RZ via SECURECRT and upload the operation.
[Root@iz25ltqcjzrz ~]# RZ
Pop-up window, select Upload file, wait for completion. Of course, RZ also has some parameters, such as general use:
Rz-bey
SCP Transfer Files
Because some of the server security considerations, do not allow the installation of RZ software, had to use SCP transmission. The SCP operation commands are actually very simple.
Transfer local files to the destination server under the specified path:
# file copy
$scp local_file remote_username@remote_ip:remote_folder
# directory replication
$SCP-R local_folder Remote_ Username@remote_ip:remote_folder
Where Local_file is the local file, remote_username the target server login name, remote_ip the target server password, remote_folder the target path under the target server.
To place the remote file CP to Local:
$SCP Remote_username@remote_ip:remote_file Local_folder
Compare the local CP to the remote server and just swap the target and source. SFTP
SECURECRT can enter SFTP connection mode via shortcut key alt+p.
Download files
Sftp>get File Absolute Path
View download to local path, get download to local path
Sftp>lpwd
Upload file:
Sftp>put Local File absolute path