aws ec2 scp code example Example: secure copy to aws scp -i /directory/to/abc.pem /your/local/file/to/copy [email protected]:path/to/file