0
votes

Few months back i have purchased AWS server and created one amazon linux instance(ec2-user) under its one year free subscription (t2-micro). I have been using instance for file input and output operation as well as server configuration via putty and filezilla as well. But recently when i tried connecting it via ppk file it showed me this error in filezilla

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

The same type of error occurred when i tried to connect to via putty also.

I did a workaround about this issue and found so many links but i am not getting how to resolve the issue. Some answer says i need to update the public key over the instance but as i am not able to connect to instance, how that could be done i am not able to understand. At this moment i have only access to my AWS Console account and nothing else.

Any views over this are Welcome...

2
perhaps you are just using wrong username? - Dusan Bajic
try centos, ubuntu, ec2-user and root - Dusan Bajic
Thanks but its ec2-user username that i am using from long time to access and even i tried before with root as you said....but it asks me to login via ec2-user and exit me - Shaggie

2 Answers

2
votes

Take Snapshot of that machine and convert it as a AMI and upload to your aws console .Then Create new instance using that AMI.

-1
votes

No possibility to connect to instance via FileZilla. Try to connect via alternative ways, like terminal. That may get you a step further by solving problem and give possibility to update key as mentioned in your question.

Might sound confusing. In my case connection via several ways is running. Only FileZilla doesn't want to. If you finally found a solution to question at all please tell me.