OK, been trying today to get to grips with Amazon Web services with some degree of success. Don't really know much about online security and this may be the problem, but basically it is asking me for a passsword to get into my instance when I start it up.
Here are my steps, I have tried to follow this site...
http://docs.amazonwebservices.com/Am...sg/2006-06-26/
I create my primary key with
ec2-add-keypair gsg-keypair
and save that file c:/key.txt, then I create my instance..
ec2-run-instances ami-febd5897 -k gsg-keypair
And I can see it runs OK with
ec2-describe-instances
I change my instances permissions to get access.
ec2-authorize default -p 22
ec2-authorize default -p 80
Then I try to log in
ssh -i c:/key.txt [email protected]
but it asks me for "a passphrase for the key' which I do not have, then it asks me if I have the root password which I do not have as well.
Does anyone know what I am doing wrong.
Thanks
Here are my steps, I have tried to follow this site...
http://docs.amazonwebservices.com/Am...sg/2006-06-26/
I create my primary key with
ec2-add-keypair gsg-keypair
and save that file c:/key.txt, then I create my instance..
ec2-run-instances ami-febd5897 -k gsg-keypair
And I can see it runs OK with
ec2-describe-instances
I change my instances permissions to get access.
ec2-authorize default -p 22
ec2-authorize default -p 80
Then I try to log in
ssh -i c:/key.txt [email protected]
but it asks me for "a passphrase for the key' which I do not have, then it asks me if I have the root password which I do not have as well.
Does anyone know what I am doing wrong.
Thanks
Comment