1.开始会拿到一个.pem文件,首先去这里下载puttygen.exe

http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

2.打开PuttyGen工具——点击Load加载.pem证书——点击Save private key来保存.ppk证书

3.在Putty的设置Connection->SSH->Auth里添加.ppk证书,地址是

ec2-xx-xxx-xxx-xx.ap-northeast-1.compute.amazonaws.com

4.login as ubuntu

5.搞定!

部分摘自http://leonax.net/p/3280/connect-amazon-ec2-instance-through-putty/