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



On 2007-Feb-05 21:29:27 -0600, Brooks Davis wrote:
On Mon, Feb 05, 2007 at 05:51:38PM -0800, Arone Silimantia wrote:
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.

I'll go further and say that you are unlikely to want to copy the
remaining files. In particular, you should merge your local changes
to /etc/ssh/ssh{,d}_config because just copying those files across
is quite likely to give the newer ssh a degree of indigestion.

--
Peter Jeremy

Attachment: pgpeOQd6FHMfe.pgp
Description: PGP signature