"Notes" file transfer between Windows and CentOS (win implementation)

Source: Internet
Author: User
Tags pscp

Use tool: PSCP (an SCP client, i.e command-line secure file copy) Maybe not everyone knows, but when it comes to putty, it's a lot of people know, go straight to http://www.chiark.gr. eenend.org.uk/~sgtatham/putty/download.html Download Putty.zip compressed package, which contains Putty PSCP psftp plink Pageant and other gadgets, the software is very small, But the basic features are available, and of course, the instructions for each tool are included.


Basic usage: 1. Open the Windows Command window and locate the folder where the Pscp.exe is located;

2. Official User's Manual

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/75/24/wKiom1YzMMuCz8CvAAJCVrE84DE850.jpg "title=" Screenshot from 2015-10-30 16:56:08.png "alt=" Wkiom1yzmmucz8cvaajcvre84de850.jpg "/>



Simple note: PSCP the source address (that is, the location of the file) destination address (i.e., file receiver)


The demo is as follows:(Please make sure that the Linux side of the sshd service is turned on, before the trial was not successful, it turned off the sshd service, but also pay attention to the Windows and Linux under the different file path, that is, '/' and ' \ ' difference)

    1. Copy files from CentOS to Windows

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/75/21/wKioL1YzLMSxtJbZAAGuyzm6dbU013.jpg "title=" Screenshot from 2015-10-30 16:26:52.png "alt=" Wkiol1yzlmsxtjbzaaguyzm6dbu013.jpg "/>


2. Copying files from Windows to CentOS

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/75/21/wKioL1YzLCiw8z-FAAHrJqfZX0o686.jpg "title=" Screenshot from 2015-10-30 16:21:53.png "alt=" Wkiol1yzlciw8z-faahrjqfzx0o686.jpg "/>



Unsuccessful parts:

* * This error occurs because common CentOS user Lenovo does not have write access to the 172.22.22.102 host/directory

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/75/24/wKiom1YzLD3CIGVmAAF6NaUrksE327.jpg "title=" Screenshot from 2015-10-30 16:18:42.png "alt=" Wkiom1yzld3cigvmaaf6naurkse327.jpg "/>


* * The error here is because the CentOS side prohibits the root user from remotely logging on to the host

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/75/24/wKiom1YzLCDTJSCFAAI0Bs_qqfs668.jpg "title=" Screenshot from 2015-10-30 16:20:46.png "alt=" Wkiom1yzlcdtjscfaai0bs_qqfs668.jpg "/>


* * This error is due to the presence of a space in the path causing a miscarriage

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/75/24/wKiom1YzK73xt1Z3AAJJ-dRtJC8654.jpg "title=" Screenshot from 2015-10-30 16:22:50.png "alt=" Wkiom1yzk73xt1z3aajj-drtjc8654.jpg "/>




^_^

This article is from the "junight" blog, make sure to keep this source http://junight.blog.51cto.com/10828785/1708146

Notes "file transfer between Windows and CentOS (win under the implementation)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.