Direct upload of Windows files to Linux

Direct upload of Windows files to Linux

1. Download Xshell

Official website: https://www.xshell.com/zh/xshell/ (seems to be charged)

Free version (but you need to set it up), Baidu network disk link: https://pan.baidu.com/s/1bdG6l5eqn-b1gvX9h_guOQ Extraction code: s51B

2. Update settings

3. Link to Linux

Enter the following command on the Linux terminal to view the network card information:

ifconfig

Create a new session in Xshell :

connect:

Successful connection:

4. Install the package for uploading files

sudo apt-get install -y lrzsz

5. Upload files

Enter the following command in Xshell, and then drag and drop the file:

rz -E

Transfer succeeded:

Check if the file exists in the current directory:

You're done! ! !

Guess you like

Origin blog.csdn.net/m0_70885101/article/details/127291049