Re: Replacing server without having to update host key on connecting clients?



On Fri, Jan 30, 2009 at 09:41:28AM -0500, George Horvath (Scotia Capital)
wrote:
into this. We are using RSA host keys that get dumped on the client server

What's a "client server"?

by the package install script. The new server will have the same IP address
and hostname

Then copy the host keys over from the old server to the new one.

They're typically in /etc/ssh/ssh_host_*key* or /usr/local/etc/ssh_host_*key*
(the location is configured at compile time).

Make sure the permissions are correct on the new server. You don't want
the private keys to be readable.