Use SSH to transfer files between linux and windows

Source: Internet
Author: User
Tags scp file pscp ssh secure file transfer
Use SSH to transfer files between linux and linux, and between linux and windows-Linux Enterprise Application-Linux server application information. For more information, see the following. Transfer files between linux and linux:
Scp file username @ hostIP: file address example:

Scp abc.txt endall @ IP:/home/endall/abc.txt

Transfer files between windows and linux:
I use putty's built-in PSCP. Others such as SSH Secure File Transfer Client

First, in WIN's DOS, PUTTY, and PSCP files.

Pscp file username @ hostIP: file address

Example: pscp d: abc.txt endall @ IP:/home/endall/abc.txt

Pscp endall @ IP:/home/endall/abc.txt d: abc

From linux to windows
In windows, how does one use putty's psftp to upload and download data from linux?

Run psftp.exe in windows. After logging on, change the directory in linux:
Cd/usr/

Change the upload and download directories in windows:

LCD d :/

This directory cannot be listed in psftp. I think this is not very good. If it is not changed, it will be the default putty installation directory. It will be downloaded here by default, and the uploaded files will also be included in this folder.

For example, in d: the disk has a 5. rmvb

Upload files to linux: psftp> put 5. rmvb

This command uploads d: \ 5. rmvb to/usr/5. rmvb.

Download files from linux: psftp> get 4. rmvb

This command downloads/usr/4. rmvb to d: \ 4. rmvb.
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.