Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a running instance on us-east which I can connect to. It is an EBS volume based on one of the ubuntu 10.10 server AMIs.

It was created by starting a default image, and then customizing it and then saving that as an AMI. I then terminated the original and ran an image of the AMI, and was able to connect.

At this point I used cloudy scripts "copy ami to different region" script (at https://cloudyscripts.com/tool/show/5) to copy it to us-west. This script copies the EBS

Once there, when I run it, I am unable to connect. I am trying to connect to it exactly the same way as I did in us-east. That is,

ssh -i <KEYFILE I USED TO START INSTANCE> ubuntu@<PUBLIC_DNS_NAME>

but this results in a timeout with error "bad file number"

I went back to the original image on us-east and restored it, and was still able to connect to it.

The instance is launched in security group: default which is configured this way in both regions:

protocol: tcp from port: 22 to port:22 source CDR 0.0.0.0/0

I really can't see any difference between the two setups - both are launched from an AMI, which should be the same one, but one works and the other doesn't. Any ideas?

share|improve this question
    
Can you try running your SSH command with -v, and include that output? –  Andrew M. Nov 16 '10 at 13:13
    
the only extra information is "attempt to connect timed out without establishing a connection" –  fastmultiplication Nov 16 '10 at 13:47

1 Answer 1

aha, it turned out that the instance was crashing upon restart due to kernel mismatch. I found out from checking the console output.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.