Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2007 17:51:38 -0800 (PST)
From:      Arone Silimantia <aronesimi@yahoo.com>
To:        freebsd-security@freebsd.org
Subject:   post-reload SSH server key transfer ... comments ?
Message-ID:  <14020.63738.qm@web58603.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help

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 ?

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 ?

I guess as far as remote users are concerned, it _won't_ be a new system - since hostname, IP, and host ssh keys will be the same ... but I like to be careful and that is why I am asking for a sanity check here...

All comments appreciated.  Thanks.

 
---------------------------------
Don't get soaked.  Take a quick peak at the forecast 
 with theYahoo! Search weather shortcut.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14020.63738.qm>