Ask Your Question
0

ssh to a compute instance

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

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 (10.0.0.2) 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 10.0.0.2 RSA host key for 10.0.0.2 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
0

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

lmpanx gravatar image

recreate instance

edit flag offensive delete link more
0

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

heut2008 gravatar image

run ssh-keygen -f "/home/dubi/.ssh/known_hosts" -R 10.0.0.2 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 . http://docs.openstack.org

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 35 times

Last updated: Jul 30 '12