Configure the environment in this article
1. Win8 + secure CRT 7.1.3
2. wmware10.0.0 + ubuntu 12.04
3. godson notebook + debian 7.3
First, you need to install secure CRT 7.1.3 on the win8 laptop.
Enter
Sudo apt-get install lrzsz
Install rz/sz Software
Next, Open secure CRT.
Click file> quick connect in the upper left corner.
Select ssh2
Enter the IP address of the linux host you want to log on to in the hostname field.
You can use ifconfig to Query IP addresses.
Port 22
Firewall none
Username is the user you want to log on.
Select connect directly.
Next, follow the prompts to connect your host.
Now let's test how to transfer files on Windows and linux Through rz/sz.
The functions of the two commands rz and sz are as follows:
Rz: receives files from windows to linux.
Sz filename: Send files from linux host to win
So where is the sending/receiving directory in win?
On secure CRT
Options-> session options-> X/Y/Z modem
The address is displayed.
Download indicates the position of the file on win after the file is sent using sz on linux.
Upload makes no sense, because using rz has nothing to do with this directory.
Now the experiment is started.
SZ:
We are in the terminal
Touch sz_test
Create a file
Then use the command
Sz sz_test
After successful download, we can see the file in the download directory of win.
Now
RZ:
Create a file on win
Rz_test.txt
Then use the command on the terminal
Rz
Then a window appears, asking you to select the location where the file to be uploaded is located.
Double-click the file. Note that the file to send in the lower-left corner is displayed.
Then, send the file to the terminal.
This experiment was successful in ubuntu12.04 in the Virtual Machine and debian7.3 in the Dragon core notebook.