ryanmurakami / pizza-luvrs

❤️🍕🍕❤️ Demo project for AWS Developer: Getting Started on Pluralsight
114 stars 255 forks source link

pscp: unable to open /home/ec2-user/pizza-luvrs: failure #29

Closed eric-willer closed 5 years ago

eric-willer commented 5 years ago

Hi,

Struggling with this class.... I am on Windows so every command done in Mac or Linux is a pain.....

I am trying to run the command:

pscp -r -i C:\AWS\pizza-keys.ppk C:\AWS\pizza-luvrs-master ec2-user@52.41.79.172:/home/ec2-user/pizza-luvrs

and got error messages:

pscp: unable to open /home/ec2-user/pizza-luvrs: failure pscp: unable to open /home/ec2-user/pizza-luvrs: failure pscp: unable to open /home/ec2-user/pizza-luvrs: failure pscp: unable to open /home/ec2-user/pizza-luvrs: failure pscp: unable to open /home/ec2-user/pizza-luvrs: failure pscp: unable to open /home/ec2-user/pizza-luvrs: failure

When I log in, I can see that the folder has been created but....

https://aws.amazon.com/amazon-linux-ami/2018.03-release-notes/ [ec2-user@ip-10-0-0-96 ~]$ dir pizza-luvrs [ec2-user@ip-10-0-0-96 ~]$ cd pizza-luvrs [ec2-user@ip-10-0-0-96 pizza-luvrs]$ dir [ec2-user@ip-10-0-0-96 pizza-luvrs]$

eric-willer commented 5 years ago

After trying 10 times, it finally worked.... Not sure what was the problem....