Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

RSA key for ssh?

  Date: Jan 23    Category: Unix / Linux / Ubuntu    Views: 368
  

I'm trying to log into a newly-installed Ubuntu server
and I'm getting the following warning. *I* did not request
strict checking, I can't find anything in root, and I don't
see anything in preferences or administration in my 10.04 box
here on how to update/modify anything to do with "RSA".

This worked once before, when I was accessing a different
server at 192.168.1.100 so I suspect you can only do that
once. When I installed Ubuntu server it must generate a
different key. But I have no idea how to reset this.


abc@Ubuntu1004:~$ sudo ssh abc@...
[sudo] password for abc:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
06:68:1a:ea:2d:e2:cd:41:c2:d5:30:b0:6d:ed:0e:62.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.168.1.100 has changed and you have requested strict
checking.
Host key verification failed.
abc@Ubuntu1004:~$

Share: 

 

2 Answers Found

 
Answer #1    Answered On: Jan 23    

I had the same issues. What I did went into the /home/matt/.ssh and
deleted the file that in there called known_hosts and it started to work
for me. You may want to make a backup copy of the known_hosts just incase.

 
Answer #2    Answered On: Jan 23    

Tried using an empty file for known_hosts as well as just
deleting the file entirely, no difference.

I also tried creating a different user and trying to log in from
there, thinking a new user couldn't have the wrong key. I was
wrong.

 
Didn't find what you were looking for? Find more on RSA key for ssh? Or get search suggestion and latest updates.




Tagged: