Get an error when I use 'scp'
Hey guys, I'm completely confused about this. I'm sure there has to be a security switch or something but what does this mean exactly?
name@comp:~$ sudo scp -r name@192.168.1.2:/home/name/file ~/ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 56:11:c0:21:fd:19:9c:44:ed:75:d2:ba:4c:d2:6f:10. 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.2 has changed and you have requested strict checking.Host key verification failed. Does this mean on 192.168.1.2 I have to add the ip address of the computer I'm on to /root/.ssh/known_hosts ? I've never dealt with this before. Any answer you guys can give would be great! |
delete the relevant line in the known_hosts file and you'll get it automatically added next time.
|
Quote:
OP: Did you recently reinstall that machine or make a major upgrade? If not, I'd wonder why it has a new host key. |
Well I haven't had a chance to try again after deleting the line in known_hosts file but yes, it's a fresh install of Ubuntu 6.06. I did some scp'n before the install which I guess would give it to think it's a different key.
I'll try it as soon as I get home today from work. Thanks for the replies! |
All times are GMT -5. The time now is 01:21 AM. |