开发者

downloading files from my server to my local machine

Hello I am running ec2 ubuntu instance, now I need to download few files to my local ubuntu machine from my server. How to do it.

I went through few instructions available on internet, which are not working for me.

Kindly help me in this regard.I am pretty much aware of ssh/scp and 开发者_JS百科rsync


Jeevan,

Copying from EC2 is the same as copying from any other machine. The only difference is, that if you want to pull the information from the EC2 instance, then you will need to use the key.

Example commands for copying FROM the EC2:

scp -i /path/to/key.pem user@ec2.com:/file.ext /localpath/

rsync -e "ssh -i /path/to/key.pem" user@ec2.com:/file.ext /localpath/

Good luck!

Dotan

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜