SCP files from EC2 instance

PHOTO EMBED

Mon Apr 19 2021 13:40:00 GMT+0000 (Coordinated Universal Time)

Saved by @ankity09 #aws

scp -i /directory/to/abc.pem user@ec2-xx-xx-xxx-xxx.compute-1.amazonaws.com:path/to/file  /your/local/directory/files/to/download
content_copyCOPY

Provide .pem location, path to file and copy location