Machine to EC2
scp -i myAmazonKey.pem FILE ubuntu@mec2-50-17-13-12.compute-1.amazonaws.com:~/.
EC2 to local
scp -i ec2key.pem username@ec2ip:/path/to/file .
TAR File
tar cvzf nameoffiletocreate.tar.gz locationthatyouwant
example - tar cvzf harish.tar.gz /ubuntu/harish/Desktop/
No comments:
Post a Comment