Filezilla : error in connecting to amazon ec2 instance

时间:2015-07-28 16:34:05

标签: amazon-web-services amazon-ec2

I have created a simple Amazon ec2 instance with all the default values. I have downloaded the key which the instance gave me. Now I downloaded filezilla and created a new site with my public DNS, port number blank, protocol sftp, some username and password, and clicked ok. Then in the edit-> settings I added my private key downloaded from amazon and clicked connect. Still I get following exception:

Error: Disconnected: No supported authentication methods available (server sent: publickey) Error: Could not connect to server

Am i going wrong somewhere?

1 个答案:

答案 0 :(得分:0)

问题的原因可能是以下

之一
  1. 您可能使用过.pem文件而不是.ppk文件。创建一个ppk 文件与pem文件,并尝试访问该实例。您可以使用 puttygen用于将pem文件转换为ppk。
  2. 确保可从您的网络访问端口22。验证 与ec2关联的安全组中存在的安全规则 实例
  3. 实例可以在私人VPC中,你就是 试图在私人VPC外访问它。