Using SSH to transfer files between Linux and Linux,linux and Windows
Transferring files between Linux and Linux:
SCP file [email protected]: Document Address Example:
SCP Abc.txt [Email protected]:/home/endall/abc.txt
Transferring files between Windows and Linux:
The author uses Putty's built-in PSCP. Other such as SSH Secure File Transfer Client
First in the Win DOS, Putty directory and pscp file directory.
PSCP file [email protected]: address
Example: PSCP d:abc.txt [Email protected]:/home/endall/abc.txt
PSCP [Email Protected]:/home/endall/abc.txt d:abc
Linux is similar to Windows
How Windows uploads and downloads from Linux with Putty Psftp
Under Windows Run Psftp.exe, log in after you change the directory under Linux:
cd/usr/
Change the directories that are uploaded and downloaded under windows:
LCD d:/
This directory can not be listed in the PSFTP, I think this is not very good, if not change is the default Putty installation directory, the default download to here, upload the file is to be in this folder
For example, in D: The disk has a 5.RMVB
Uploading files to linux:psftp > put 5.RMVB
This command will upload d:\5.rmvb to/USR/5.RMVB.
Download files from Linux: psftp > Get 4.RMVB
This command will download/USR/4.RMVB to D:\4.RMVB
Http://wenku.baidu.com/link?url= Hbofj3ib1bg7maybtvyvmo3uzkizrr2smr4gir623rmnlybi9qh-uwiyfqxjfu1nwunnpzvcd1tkjswjy764jea1zcculo4o2irgn9xqkpa
Using SSH to transfer files between Linux and Linux,linux and Windows