Here’s an example of using pscp to transfer files to a remote:

pscp -scp -i "C:\Users\User\DG\SSH Keys\jader\droidzone\mykey.ppk" "C:\Users\User\DG\SSH Keys\Latest\mypublic_pub.txt" [email protected]:~/.ssh/

This is a typical usage of scp. I’m transferring my public key to the ssh server, to make further authentications with a key. Here, I specify the current private key (already recognized by the server) with -i option. Alternately, one would use a password authentication.

-scp forces scp mode.

The general syntax is:

pscp  [target]

source – Is a file or folder name

target is in the formatĀ ip address:/destination_directory orĀ hostname:/destination_directory