Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-23-2006, 02:52 PM
|
#1
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Rep:
|
ssh "remote host identification has changed"
Hi all, when trying to connect to this pc from my laptop using ssh i get:
Code:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
0a:ba:c7:69:bc:45:6e:a3:15:65:b3:c9:55:ac:7c:73.
Please contact your system administrator.
Add correct host key in /home/abc/.ssh/known_hosts to get rid of this message.
Offending key in /home/abc/.ssh/known_hosts:2
RSA host key for 24.67.216.219 has changed and you have requested strict checking.
Host key verification failed.
Ive tried deleting the .ssh folder on both machines but i get the same thing. How do i fix this?
Any help appreciated.
|
|
|
06-23-2006, 03:08 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
Take it out of the known_hosts file under .ssh of the originating user. Of course you should first be sure the machine you're hitting is the one you think it is.
|
|
|
06-23-2006, 03:27 PM
|
#3
|
Member
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124
Rep:
|
jlightner has the quickest fix. Your computer thinks that ip address should have a different RSA associated with it. you can edit the /home/abc/.ssh/known_hosts:2 file and take out that IP or just completely remove the file. By removing the file your computer will ask you if you if its okay to connect with even old ssh connections.
|
|
|
06-23-2006, 04:21 PM
|
#4
|
Member
Registered: Jan 2006
Posts: 37
Rep:
|
You should contact the owner/admin of the remote machine to verify that the key change was on purpose. Such changes can indicate that the machine's been compromised, usually by an SSH demon that logs usernames/passwords and passes them upstream to the hacker.
If the machine has been compromised and you use a "common password" for that machine and others, I'd go about changing them all just to be paranoid.
Cheers
|
|
|
All times are GMT -5. The time now is 12:08 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|