This is how you do it-
File transfers can be done using PSCP (Putty Secure CoPy) or by using PSFTP (Putty Secure File Transfer Protocol).
The easiest way i find is via PSCP (Putty Secure CoPy)-
1. Download Putty here- http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
2. PSCP must be launched from within a DOS box - Before running PSCP, you need to set the path variable. At the DOS command prompt, type-
set PATH=C:\Program Files (x86)\PuTTY
(Change the path as per your directory structure.)
3. Type Path to check if it is been set correctly.
4. To copy a Windows file to Linux system, at the DOS prompt, type-
pscp C:/ <full file name on windows> root@<IP Address of Linux box>:/root
:/root will copy the files under root on linux box. Change as per your needs.
5. The reverse works as well (copy Linux file to Windows)
pscp root@<IP Address of Linux box>:/root c:/
Cheers!
Abhay
File transfers can be done using PSCP (Putty Secure CoPy) or by using PSFTP (Putty Secure File Transfer Protocol).
The easiest way i find is via PSCP (Putty Secure CoPy)-
1. Download Putty here- http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
2. PSCP must be launched from within a DOS box - Before running PSCP, you need to set the path variable. At the DOS command prompt, type-
set PATH=C:\Program Files (x86)\PuTTY
(Change the path as per your directory structure.)
3. Type Path to check if it is been set correctly.
4. To copy a Windows file to Linux system, at the DOS prompt, type-
pscp C:/ <full file name on windows> root@<IP Address of Linux box>:/root
:/root will copy the files under root on linux box. Change as per your needs.
5. The reverse works as well (copy Linux file to Windows)
pscp root@<IP Address of Linux box>:/root c:/
Cheers!
Abhay
No comments:
Post a Comment