1)购买亚马逊服务器后生成的xxx.pem
在Linux环境下 chmod 700 xxx.pem
ssh-keygen -y -f xxx.pem > xxx.pem.pub
2)在win环境 把xxx.pem xxx.pem.pub文件放在一起,
CRT + NEW amz-xxx-pc
hostname: ec2-5-16-11-6.us-west-1.compute.amazonaws.com
port: 22
firewall: null
usernmae: ec2-user
amz-xxx-pc 属性-->SSH2-->PublicKey-->Properties-->Use global public setting-->Use identity or certificate file-->xxx.pem.pub-->ok-->ok
3)FileZilla 设置
协议: SFTP - SSH File Transfer Protocol
主机: ec2-5-16-11-6.us-west-1.compute.amazonaws.com 22
登录类型: 密匙文件
用户: ec2-user
密钥文件: D:\path\to\xxx.pem