linux - SSH into an Openstack instance - Error -


i try use ssh login in openstack server built class. download .pem key server. putty, login .ppk key (generate .ppk key .pem using putty keygen). it's not work on ssh. there missed?

my command

ssh -l ubuntu -i ~/.ssh/xxx.pem xxx.edu -p 18922 

error msg

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    warning: remote host identification has changed!     @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ possible doing nasty! eavesdropping on right (man-in-the-middle attack)! possible host key has been changed. fingerprint rsa key sent remote host (xxx). please contact system administrator. add correct host key in /users/xxx/.ssh/known_hosts rid of message. offending rsa key in /users/xxx/.ssh/known_hosts:2 rsa host key [xxx.edu]:18922 has changed , have requested strict checking. host key verification failed. 

thanks anil vishnoi's comment!

remove

/users/xxx/.ssh/known_hosts 

and use original command passing pem key

ssh -l ubuntu -i ~/.ssh/xxx.pem xxx.edu -p 18922 

i can ssh openstack server directly.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -