xshell and windows file transfer tool

Xshell works great, then sometimes I want to upload or download a file between windows and linux.

A very simple method is the rz, sz command.

Linux needs to install rz and sz, please execute the following command
yum install lrzsz -y

rz, sz is the command line tool for ZModem file transfer between Linux/Unix and Windows.

The windows side needs to support ZModem's telnet/ssh client (xshell supports it, it seems that putty does not support it), SecureCRT can use SecureCRT to log in to the Unix/Linux host (telnet or ssh can be used)

and run the command rz, that is, to receive the file, xshell will A file selection dialog box will pop up. After selecting the file, close the dialog box, and the file will be uploaded to the current directory in linux.

Running the command sz file is to send the file to windows (the saved directory can be configured), which is much more convenient than the ftp command, and the server does not need to open the FTP service anymore.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325986057&siteId=291194637