views:

18

answers:

1

when changing /etc/sshd_config I made a mistake and didn't notice that sshd wasn't running anymore when I logged out. Naturally I can not log back in because sshd is not running.

Is there any other way to connect back into a amazon ec2 instance?

+1  A: 

If it's an EBS back AMI, you can stop the instance, attach and mount the current volume to another instance, edit the config.

If it's an S3 based, launch a replacement instance.

Rodney Quillo
thanks a lot, I will check that out
Jamgold