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 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 [email protected]:/file.ext /localpath/
rsync -e "ssh -i /path/to/key.pem" [email protected]:/file.ext /localpath/
Good luck!
Dotan