Re: post-reload SSH server key transfer ... comments ?
- From: Brooks Davis <brooks@xxxxxxxxxxx>
- Date: Mon, 5 Feb 2007 21:29:27 -0600
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
- Follow-Ups:
- Re: post-reload SSH server key transfer ... comments ?
- From: Peter Jeremy
- Re: post-reload SSH server key transfer ... comments ?
- References:
- post-reload SSH server key transfer ... comments ?
- From: Arone Silimantia
- post-reload SSH server key transfer ... comments ?
- Prev by Date: post-reload SSH server key transfer ... comments ?
- Next by Date: Re: post-reload SSH server key transfer ... comments ?
- Previous by thread: post-reload SSH server key transfer ... comments ?
- Next by thread: Re: post-reload SSH server key transfer ... comments ?
- Index(es):
Relevant Pages
|
|