LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 08-23-2006, 04:16 PM   #1
Abomb
Member
 
Registered: Dec 2005
Location: ~/
Distribution: Ubuntu
Posts: 156

Rep: Reputation: 30
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!
 
Old 08-23-2006, 04:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
delete the relevant line in the known_hosts file and you'll get it automatically added next time.
 
Old 08-23-2006, 04:55 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by acid_kewpie
delete the relevant line in the known_hosts file and you'll get it automatically added next time.
That'll fix it, but there could be something more serious here.

OP: Did you recently reinstall that machine or make a major upgrade? If not, I'd wonder why it has a new host key.
 
Old 08-24-2006, 07:47 AM   #4
Abomb
Member
 
Registered: Dec 2005
Location: ~/
Distribution: Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 30
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
scp error message basher400 Linux - Newbie 6 07-26-2007 03:48 AM
scp error. bruse Linux - Newbie 9 09-02-2005 03:44 PM
Scp Error chaitu_iiit Linux - Software 1 12-08-2004 09:08 AM
error with scp command eduac Linux - Security 2 08-07-2003 04:50 PM


All times are GMT -5. The time now is 02:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration