Using the cygdrive command, you can upload local files to the target linux server in the cygwin window ,,,
In the cygwin window, run the following command:
Test @ test ~
$ Cd/cygdrive/f/20110929
Test @ test/cygdrive/f/20110929
$ Ls
Upload All tar.gz compressed packages in 10929to
Under the tmp directory in test @ testredhat (the enabled port is assumed to be 9022 ):
Test @ test/cygdrive/f/20110929
$ Scp-P 9022 *. gz test @ testredhat:/tmp/
The authenticity of host' [testredhat]: 9022 ([10.59.4.201]: 9022) 'CAN'
T be established.
RSA key fingerprint is c4: a9: d3: f6: d5: eb: a9: d9: 56: 59: fc: 34: 7b: cf: 03: 51.
Are you sure you want to continue connecting (yes/no )? Yes
Warning: Permanently added '[testredhat]: 100' (RSA) to the list of kn
Own hosts.
Test @ testredhat's password:
Enter the password to start uploading...
A.tar.gz 100% 31 MB 3.9 MB/s
B .tar.gz 100% 1484KB 1.5 MB/s
C.tar.gz 100% 86 MB 3.2 MB/s
Author "lxs647"