How Can I Download a File from EC2 [closed]
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: What scp arguments should I use to download a file from an Amazon EC2 instance to local storage? 回答1: Use scp: scp -i ec2key.pem username@ec2ip:/path/to/file . where: ec2key.pem is your PEM key username is the username you log in with ec2ip is the IP or DNS alias of the instance /path/to/file is the location where the file is stored This will copy the file into the current folder on the local machine. You can read more here on how to access your instance with ssh if you haven't done already: http://docs.aws.amazon.com/gettingstarted/latest