Amazon EC2 instance ssh problems
Solution 1:
You need to leave the trailing slash off of the hostname when you ssh. I.e.,
ssh -i ec2-keypair [email protected]
Tip: Instead of asking Amazon to create your ssh keypair for you, you can upload your own ssh public key to EC2. This makes the ssh command much easier as you don't have to always specify "-i ec2-keypair".
I wrote an article that describes how to set this up:
Uploading Personal ssh Keys to Amazon EC2
http://alestic.com/2010/10/ec2-ssh-keys