LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 10-25-2010, 01:49 PM   #1
CNBarnes
Member
 
Registered: Apr 2004
Location: Texas
Distribution: Debian
Posts: 41

Rep: Reputation: 15
ssh key changed - need explaination


Back in June, we updated our "general use linux machine" that my users logon to. We used the same name & IP as the old machine - but naturally, the ssh key changed.

One of my more IT literate users is getting the following error.

Code:
Warning: the RSA host key for 'host' differs from the key for the IP address 'IP'
Offending key for IP in /Users/user/.ssh/known_hosts:787
Matching host key in /Users/user/.ssh/known_hosts:798
Are you sure you want to continue connecting (yes/no)? yes
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
Linux Io 2.6.26-2-686 #1 SMP Wed May 12 21:56:10 UTC 2010 i686

Am I correct in telling my user that this error will go away if he either removes the offending line from
/Users/user/.ssh/known_hosts or deletes the file file altogether?


He is trying to tell me I need to "fix my server"....
 
Old 10-25-2010, 01:59 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,109

Rep: Reputation: 7836Reputation: 7836Reputation: 7836Reputation: 7836Reputation: 7836Reputation: 7836Reputation: 7836Reputation: 7836Reputation: 7836Reputation: 7836Reputation: 7836
Quote:
Originally Posted by CNBarnes View Post
Back in June, we updated our "general use linux machine" that my users logon to. We used the same name & IP as the old machine - but naturally, the ssh key changed.

One of my more IT literate users is getting the following error.

Am I correct in telling my user that this error will go away if he either removes the offending line from
/Users/user/.ssh/known_hosts or deletes the file file altogether?

He is trying to tell me I need to "fix my server"....
Yes, you are correct, and it sounds like you need to get the LART, and go visit him.

If he's unclear on the concept, you can direct him to Google, and tell him to look up how keys and other such items are generated, and why that message comes up.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty/SSH login failed when using RSA public key: 'Server refused our key' itsecx@gmail.com Linux - Server 10 10-04-2010 01:19 PM
sshd key id changed spaceageliving Linux - Security 8 10-22-2009 01:12 PM
RSA host key for 172.17.5.60 has changed ssharma_02 Red Hat 3 11-15-2006 09:55 AM
Hash Key on keyboard changed functioin!? breakerfall Linux - General 1 01-11-2004 08:07 AM
ssh rsa key changed after upgrade itsjustme Linux - General 11 11-06-2003 09:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration