User
I created a simple hello world app on VS Code on my laptop. I am trying to run this on an Ubuntu EC2 instance that I created on AWS. Once I ssh into the instance I give the following command:
scp -i "C:/Users/ahmed/Downloads/python.pem" "D:/Python/hello.py" [email protected]:~/hello.py
and get the following error:
Warning: Identity file C:/Users/ahmed/Downloads/python.pem not accessible: No such file or directory. [email protected]: Permission denied (publickey). scp: Connection closed
The private key is in my downloads folder and the python app in is the Python folder in disk D. Is there any command for this or any other method to deploy the app onto the EC2 instance?