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