How to download a file from EC2 instance to Local Computer

后端 未结 4 2020
南方客
南方客 2021-02-06 06:22

i have an instance of ec2.it have some files.i tried to download my file from ec2 instance to my local Ubuntu 13.10.i run this command

scp -i /home/ritesh/.ssh/         


        
4条回答
  •  被撕碎了的回忆
    2021-02-06 06:47

    I find a simple solution for importing a file from EC2 to local machie

    cd ~/.ssh
    scp -i mykey.pem ec2-user@ipadress.zone.compute.amazonaws.com:/home/path/file ~/Desktop/target
    

    Downloading file to your local machine .....

    Hope it will be helpfull to someone

提交回复
热议问题