ec2 how to download file from server to local code example Example: ec2 download file scp -i ec2key.pem username@ec2ip:/path/to/file .