0

i am trying to login to my amazon instance using putty. I had logged in a few hours back, but now when i am trying to log back in, it says authentication using the key has failed. Anyway i can fix this?

Now putty is not able to connect to the server. I tried with the public dns and elastic ip. neither one was able to connect. But the server is still running.

Nithin
  • 147
  • 1
  • 11

2 Answers2

1

First, I would try manually rebooting the instance from the AWS Management console. If that doesn't do it, you'll need to shut down the instance (but save the EBS volume first by taking a snapshot if you have it set to delete on instance termination). You can then start a new instance and attach the volume to it recover your data.

Andrew Maiman
  • 264
  • 5
  • 12
  • tried the manual reboot, stop start. Dint work. Not sure of the steps of attaching a volume on boot to an instance. – Nithin Sep 20 '11 at 05:50
0

I wrote this article to help start tracking down these types of problems. It also has useful tips on what information you should provide when you ask for help:

Solving: "I can't connect to my server on Amazon EC2"
http://alestic.com/2009/08/ec2-connectivity

I wrote this article to help explain how to look at and fix files on the root disk of an instance when you can't connect to it:

Fixing Files on the Root EBS Volume of an EC2 Instance
http://alestic.com/2011/02/ec2-fix-ebs-root

Eric Hammond
  • 11,163
  • 1
  • 36
  • 56