ssh to a compute instance

asked 2012-07-27 13:46:08 -0600

dubi-il gravatar image

I have started an instance on a nova compute node . The instance is active . The instance is: 32 bit ubuntu-10.04-server-cloudimg-i386 - a standard instance that cited by (stackrc) devstack

I can ping it ( but do not know a default user /password to log in to it .

trying to ssh with any name returns the following :

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is 89:71:83:85:6e:92:a0:3a:8a:4b:35:9f:1d:a6:d1:17. Please contact your system administrator. Add correct host key in /home/dubi/.ssh/known_hosts to get rid of this message. Offending RSA key in /home/dubi/.ssh/known_hosts:4 remove with: ssh-keygen -f "/home/dubi/.ssh/known_hosts" -R RSA host key for has changed and you have requested strict checking. Host key verification failed.

Any advice ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-07-30 03:29:23 -0600

lmpanx gravatar image

recreate instance

edit flag offensive delete link more

answered 2012-07-28 05:59:43 -0600

heut2008 gravatar image

run ssh-keygen -f "/home/dubi/.ssh/known_hosts" -R on your shell, then try again to login in . you need to create a ssh keypair then select the key when you run instances, login to the instance with the correct private key I suggest you read the docs before .

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-07-27 13:46:08 -0600

Seen: 79 times

Last updated: Jul 30 '12