Virtual machine,,, quality a little bad, everybody look!
-------------------
In the case of not getting the Linux root account, WINSCP and other tools are unable to implement the file transfer, at this time we can borrow bitvise SSH;
: https://www.bitvise.com/ssh-server-download bitvise SSH server installer-version 7.32, size 14.0 MB. We need the server version of the software
The tool enables two-way transmission, i.e. Linux to Windows and Linux for Windows-side files.
After downloading the file name Bvsshserver-inst.exe, double-click to start the installation;
Tick the personal version
Enter personal information and the information herein is not used as an SCP account. The SCP account is described below.
Installation success prompt, click Confirm First Boot
Click on "Open Easy setting"
Select 1, server setting, check open firewall, of course, for the sake of security you can set LAN-only
3,Virtual account settings, this is the SCP accounts information, it is important
Click Add
Set up account information
Click Virtual account password to set the password
Click OK to return to the Account Settings screen
All of the account information that already exists is shown here, which means that you can set up different accounts for the same windows, depending on the user environment.
Click Save Changes. Back to the server interface.
Click Start Server to start the SSH service. If you have anti-virus software interception, please click Allow all.
Let's start with the test and Note The Windows directory notation
1. Get Windows files from Linux,
Windows file path: E:\test\A_common_libs_2.3.2.zip
On the Linux side do the following: zip SCP from remote Windows e-Drive test directory to the Linux home directory
Syntax: SCP [email protected]_ip:/letter:/directory/filename/linux directory, multiple files please use *. suffix "exp *.zip", or * replace all files.
The first SCP will prompt to accept the secret key, click Yes, I have already accepted.
$ sudo scp ****@192.168.**.**:/e:/test/a_common_libs_2.3.2.zip/home/[sudo] password for ******: ****@192.168.**.** ' s Password:a_common_libs_2.3.2.zip 100% 940KB 939.7kb/s 00:00
The test succeeds and the Windows client receives the log information during the fetch process.
2. Send files from Linux to Windows directory
On the Linux side, perform the following: zip SCP from the current directory to the D packing directory for remote Windows
Syntax: Scp/linux name directory/file name [email protected]_ip:/drive letter:/directory/
$ sudo scp a_common_libs_2.3.2.zip ****@192.168.**.**:/d:/ ****@192.168.**.** ' s password:a_common_libs_2.3.2. Zip
Test success!
Virtual_account_name refer to the Virtual Account Settings page.
Ps,windows end are used in English full path, about Chinese path please try it, not recommended ha.
BITVISESSH-free root for Windows vs Linux file Transfer