how to copy file from amazon ami to local machine code example
Example: send file to aws ec2 termnal
// To copy one file
scp -i path/to/key file/to/copy [email protected]:path/to/file
// To copy an entire directory
scp -i path/to/key -r directory/to/copy [email protected]:path/to/directory