I am transferring a project folder to AWS instance using PuTTY pscp.
I am able to connect using .ppk public keys file and ssh
command opened successfully and logged-in.
Here I am using command to transfer folder:
pscp -r -i C:\path-to-my-keys\converted-pem-keys.ppk d:\MyDevelopment\myproj [email protected]:/home/ec2-user/myproj
It shows:
pscp: Command not found.
Path to PuTTY folder is set in Environment variables. Any idea?
To copy a file or files using PSCP, open a command window and change to the directory in which you saved pscp.exe. Then type pscp, followed by the path that identifies the files to copy and the target directory, as in this example. Press Enter, then follow your usual authentication procedures to execute the transfer.
PSCP, the PuTTY Secure Copy client, is a tool for transferring files securely between computers using an SSH connection. If you have an SSH-2 server, you might prefer PSFTP (see chapter 6) for interactive use.
"Command not found" is a common *nix shell error message. What indicates that you probably type the pscp
command in PuTTY (remote) terminal.
But pscp
is Windows application. You have to type your pscp
command in (local) Windows console (cmd.exe
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With