What scp arguments should I use to download a file from an Amazon EC2 instance to local storage?
You can do this using SCP:
scp -i demo.pem [email protected]:/path/to/file
where:
demo.pem is your PEM key
Name is your login username
ec2ip is the public IP of the instance
/path/to/file is the location where the file is stored
This command will copy the file to your local folder