Ask Your Question

Revision history [back]

Ping works but cannot SSH the Instance/Stack

I am facing a little issue while sshing to the stack that i have launched successfully. I have launched a stack with the key named "heat_key" and changed its permissions by the command

chmod 600 heat_key

But when I try to ssh to the stack using its IP it gives the following error.

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).

I am able to ping the same IP but unable to ssh. i can obtain a list of keys through nova using

nova keypair-list

which enlists the key i have made.

The error is related to keys. i guess the keys are not matching or there is some other issue. Any Help would be appreciated!!