scp from Amazon EC2 to local

October 17th 2013 by Jessica Legner

Being new to working with AWS, something very trivial became a hurdle. So, I got this wrong a few times. First I got "Permission Denied", then "Broken Pipe", then finally "No such file or directory". I suspected that scp-ing would work, but I just had shit in the wrong order.

Try:

scp -i [key] -r [source] [destination]

YEP!