Re: post-reload SSH server key transfer ... comments ?



On Mon, Feb 05, 2007 at 05:51:38PM -0800, Arone Silimantia wrote:

I am going to be replacing system X with system Y (which is much
faster, newer).

I will load up the new system from scratch, and then just copy over
the user data from the old system. Then I will turn off the old
system for good, and set the IP and hostname of the new system to
match the old one.

Easy. Except everyones ssh connections will complain loudly about
potential MITM attacks, etc. ...

So, am I correct that I can just tar up /etc/ssh on the old system and
use it to overwrite /etc/ssh on the new system, and that's that ? No
warning message or other problems ?

Yes. Actually, the files you need are "/etc/ssh/*_key /etc/ssh/*_key.pub".
The others may contain settings you want to move, but don't effect the
machine's ssh identity.

ALSO, am I correct that if I copy over their home directories that
contain their ~/.ssh/authorized_keys that those will continue to work
just fine even though they are on a new server ?

Yes, they contain no knowledge of the server they are on.

-- Brooks

Attachment: pgpiGf3ZTFNRh.pgp
Description: PGP signature



Relevant Pages

  • Re: True Memory Use
    ... We had to actually measure our server (it can handle 1300 ... You have to measure it under load. ... Note that you have to expect 70 seconds for a reverse DNS lookup; ... But of course the GUI *does* consume cycles, so only load simulation is ...
    (microsoft.public.vc.mfc)
  • Re: the future of applications in JavaScript?
    ... more than one server has to be up for success. ... I can't imagine that a brower rendering engine needs to be hand written ... One is make the browser smarter and have longer load times ...
    (comp.lang.javascript)
  • Re: Can not change screen resolution (Fedora 5, gnome)
    ... It seems like I am not able to change my x server ... screen resolution from ... Load "extmod" ... Section "Monitor" ...
    (Fedora)
  • Re: Starting X - was Re: Vista / FreeBSD dual boot
    ... X connection to:0.0 broken (explicit kill or server shutdown) ... xorg-fonts-100dpi-7.3 X.Org 100dpi bitmap fonts ... Identifier "X.org Configured" ... Load "extmod" ...
    (freebsd-questions)
  • Re: loading html pages in frames
    ... >>> On the server when we click on the link we get a momentary ... the html file loads correctly in the same window. ... >>> to load it but I get the same behaviour as trying to load from the ... >>> temp->data virtual folder. ...
    (microsoft.public.inetserver.iis)