1

I am trying to learn the Amazon's AWS - EC2 service and was following its tutorial (at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html)

I have successfully launched an instance and am on Step:2, Connect to your instance. I got PuTTY and followed the tutorial for connection using PuTTY (at https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html)

Here I am unable to use the command - pscp -i C:\path\my-key-pair.ppk C:\path\Sample_file.txt ec2-user@public_dns:/home/ec2-user/Sample_file.txt as it shows the following error : ' -bash: pscp: command not found '

My main aim is to use an online free temporary server to host a RESTful API that I have made and tested on localhost in python3.

I am a beginner in this field and would like some help.

Thank you.

Tushar Aggarwal
  • 827
  • 1
  • 10
  • 26

1 Answers1

3

pscp is Windows program.

You are not supposed to use it in PuTTY terminal (on the virtual machine shell), but on your local Windows machine.

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992