Operating System - HP-UX
1752719 Members
5468 Online
108789 Solutions
New Discussion юеВ

Re: Remote host Verifycation error

 
SOLVED
Go to solution
Virumandi
Frequent Advisor

Remote host Verifycation error

When i try to scp from my server I am getting the following error message can anybody guide me , what i need to do to resolve the issue

The Error is:

bash-2.05# scp -r tomcat 10.210.7.212:/usr/local
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Someone could be eavesdropping on you right now(man-in-the-middle attack)
It is also possible that the RSA host key has been changed.
The fingerprint for the RSA key sent by the remote host is
md5 83:38:a2:8e:15:a1:c5:95:c4:98:6a:47:8b:66:d8:f8.
Please contact your system administrator.
Add correct host key in //.ssh/known_hosts
Offending key is entry 4 in //.ssh/known_hosts
RSA host key for 10.210.7.212 has changed and you have requested strict checking
.
lost connection

Thanks
5 REPLIES 5
Pupil_1
Trusted Contributor

Re: Remote host Verifycation error

replace the 'known_hosts' file in homedirectory to another name and then retry !!
There is always something new to learn everyday !!
Jonathan Fife
Honored Contributor
Solution

Re: Remote host Verifycation error

This says it all:
" Offending key is entry 4 in //.ssh/known_hosts
RSA host key for 10.210.7.212 has changed and you have requested strict checking"

The host key for the host you're connecting to has changed -- was the machine rebuilt recently?

If you are certain that no one is intercepting your ssh connection, you can remove the 4th entry in your ~/.ssh/known_hosts file and then try again. It will ask you if the new key is correct and if you answer yes it will add it to known_hosts and continue along with the scp.
Decay is inherent in all compounded things. Strive on with diligence
Arunvijai_4
Honored Contributor

Re: Remote host Verifycation error

Hi,

You need to delete host's entry from //.ssh/known_hosts. Your server host key has changed, because of that you got this message.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Virumandi
Frequent Advisor

Re: Remote host Verifycation error

But even after deleted the entry from known_hosts file still I am getting the error message..

For your information.,This error started after I reconfigured the server by using the sys-unconfig command...

Regards
Suseendran .A
Peter Nikitka
Honored Contributor

Re: Remote host Verifycation error

Hi,

if the message you get is unchanged after your modification, your changed was not made in the correct file.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"