Putty Secure Copy = = PSCP is a file transfer attack provided by Putty, which transmits files securely between the two machines via ssh two pieces
Get PSCP tool:http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html, place the. exe file under the System32 folder in Windows, or set the environment variable yourself. It can then be called directly under the DOS command window.
-R Copy all files under directory
-L machine (Linux) user name (root)
-PW Password
How to use:
1. Local linux system, copy files of Windows system.
Command format: PSCP localfile [Email protected]:/filedirectory
Copy Entire directory: pscp-r localdir [Email protected]:/filedirectory
Example: PSCP "D:\linshi20150815\vnsc_0815" [Email protected]:/opt/
2. Local Windows, copy files under Linux system
Command format: PSCP [email protected]:/filedirectory localdirectory
pscp-r [Email protected]:/opt/"D:\linshi20150815"
Copy file attack between Windows system and Linux system--PSCP