Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-20-2006, 12:06 PM   #1
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
ssh RSA authentication changed?

Somewhere around the time that my VPS server provider messed up my server and then restored from backup, I got this message when I try to connect to ssh that the Remote Host Identification changed.

What exactly could make an RSA host key change possible? Would is be expected for something like a server restore from backup or should I be gravely concerned?

If it's probably alright, how can I "Add correct host key in /root/.ssh/known_hosts" as the message says? I've looked at the file, but don't really understand it.
Old 05-20-2006, 08:05 PM   #2
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Probably they didn't back up the host key for sshd, and so it made a new one after the restore.

All you need to do is go into /root/.ssh/known_hosts and delete the line that mentions this server - the hostname of IP is near the beginning of each line.


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
failed ssh RSA key authentication jdarren Linux - Networking 15 07-06-2008 11:25 AM
RSA host key for has changed ssharma_02 Red Hat 3 11-15-2006 10:55 AM
How to RSA authentication ERBRMN Linux - Security 11 07-29-2005 12:22 PM
Step-by-step instructions setting up RSA Authentication for SSH? houler Linux - Security 16 04-27-2005 08:08 AM
ssh rsa key changed after upgrade itsjustme Linux - General 11 11-06-2003 10:12 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:28 AM.

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