How To Use PSCP Command On Windows
How To Use PSCP Command On Windows
– POFTUT
pscp command is an SCP protocol implementation where we can transfer and copy files and folders securely over a network with the
SSH connection. In this tutorial, we will learn how to install and use pscp tool on Windows operating system.
Download Pscp
pscp command can be downloaded from the following link. There are different installation types. pscp can be installed in standalone or
with the putty installer package. I prefer Putty installation package where path environment configuration also done automatically.
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
https://www.poftut.com/how-to-use-pscp-command-on-windows/ 1/8
02/06/2022 11:30 How To Use PSCP Command On Windows? – POFTUT
Download Pscp
As we can see there is 32 and 64 bit versions. I will use 64 bit because my Windows is 64 bit.
Install Pscp
We will install the downloaded putty 64 bit msi package regular Windows Next->Next style like below.
https://www.poftut.com/how-to-use-pscp-command-on-windows/ 2/8
02/06/2022 11:30 How To Use PSCP Command On Windows? – POFTUT
Install Pscp
> pscp
https://www.poftut.com/how-to-use-pscp-command-on-windows/ 3/8
02/06/2022 11:30 How To Use PSCP Command On Windows? – POFTUT
We can see that the usage or syntax of the pscp command is provided the start of the help information. Also, all available options are
printed after the Options: part.
psc
https://www.poftut.com/how-to-use-pscp-command-on-windows/ 4/8
02/06/2022 11:30 How To Use PSCP Command On Windows? – POFTUT
We can see that for the first time we will connect a server we need to approve the remote server puıblic key. Then we provide the
password for the user ismail. After we authenticated successfully the transfer of the file is completed successfully.
https://www.poftut.com/how-to-use-pscp-command-on-windows/ 5/8
02/06/2022 11:30 How To Use PSCP Command On Windows? – POFTUT
In this example we will download all gzipped file with the gz extension those resides /home/ismail . . means we will save to the current
working directory.
> pscp [email protected]:/home/ismail/*.gz .
https://www.poftut.com/how-to-use-pscp-command-on-windows/ 6/8
02/06/2022 11:30 How To Use PSCP Command On Windows? – POFTUT
We can also put multiple files to the remote server with pscp command. We will provide the file names before the remote server, user
information. In this example, we will copy local files pass.txt, config.sys to the remote server.
https://www.poftut.com/how-to-use-pscp-command-on-windows/ 7/8
02/06/2022 11:30 How To Use PSCP Command On Windows? – POFTUT
https://www.poftut.com/how-to-use-pscp-command-on-windows/ 8/8