scp example ec2 Example: scp file from local to ec2 scp -i myAmazonKey.pem phpMyAdmin-3.4.5-all-languages.tar.gz [email protected]:~/.