Problem Statement- I want to copy some files from remote machine (linux) to my windows machine. I know I can do it using pscp.
I tried looking on the internet, I found several articles, but in those articles I was not able to understand and I was having lot of problems in copying the files from Linx box to Windows.
Can anyone provide me step by step method here, so that I can follow that to transfer files. That will be of great help to me.
I am connected to host cli.vip.host.com
using putty and that is linux with username- rkost
and password as- password
. And I want to copy file a.txt
from linux to windows.
Download PSCP from below link
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Run PSCP
Got to command prompt
Use the below code
pscp user@host:remote_path/file_name host_path\file_name
eg: pscp [email protected]:/home/user2/a.txt c:\Desktop\a.txt
pscp user@host:remote_path/* host_path\
eg: pscp [email protected]:/home/user2/* c:\Desktop\test\
pscp -r user@host:remote_path/ host_path\
eg: pscp -r [email protected]:/home/user2/ c:\Desktop\test\