File transfer between windows and CentOS

Source: Internet
Author: User
Tags pscp
Use tools: PSCP (anSCPclient, I. e. command-linesecurefilecopy) maybe not everyone knows, but when it comes to putty should be known by many people, directly to the http://www.chiark.greenend.org.uk /~ Sgtatham/putty/download.htmldownload putty.zip package, which contains p

Tools used: PSCP (an SCP client, I. e. command-line secure file copy) may not all know, but many people should know it when it comes to putty.Http://www.chiark.greenend.org.uk /~ Sgtatham/putty/download.htmlDownload the putty.zip package, which contains putty pscp psftp plink pageant and other gadgets. the software is very small, but basic functions are available. of course, it also contains the instructions for using various tools.

 

Basic usage: 1. open the windows command window and find the folder where pscp.exe is located;

2. official User Manual

 

 

Simple note: pscp source address (that is, the location of the file) target address (that is, the file recipient)

 

The following is an example: (make sure that the sshd service is enabled on linux. during the previous experiment, the sshd service was disabled. Also, pay attention to the differences between the file paths in windows and linux, that is, the difference between '/' and)

  1. Copy files from centos to windows

 

2. copy files from windows to centos

 

 

Unsuccessful part:

** This error occurs because lenovo, a common centos user, has no write permission on the/directory of the 172.22.22.102 host.

 

** This error occurs because the root user is prohibited from remotely logging on to the host on the centos client.

 

** Here the error is caused by space in the path, which leads to incorrect judgment.

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.