mardi 25 août 2015

How to upload file to AWS ec2 instance?

Hey I am trying to upload a folder of file from my local ubuntu os to aws ubuntu server for that I have tried filezilla and it work perfect but when I am trying to use this command :

 sudo scp -i ~/Desktop/jumpbook.pem ~/Desktop/ommlogo.png  ubuntu@ec2-52-24-103-139.us-west-2.compute.amazonaws.com:~/var/

I am getting this error :

-bash: /home/nilay/Desktop/jumpbook.pem: Permission denied

How can I upload files to aws cloud server .




Aucun commentaire:

Enregistrer un commentaire