How to download a file from EC2 instance to Local Computer

后端 未结 4 2078
南方客
南方客 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

    For EC2 ubuntu
    go to your .pem file directory
    scp -i yourkey.pem ec2user@DNS_name:/home/ubuntu/foldername/filename ~/Desktop/localfolder

提交回复
热议问题