Move servers public/private keys to a new host

chris rapier rapier at
Wed Jan 24 01:01:03 EST 2007

petesea at wrote:
> Is it possible to move a server's public and private keys from one host to 
> another?  Or perhaps a better way to ask what I really want... is it 
> possible to configure a server on a new host to return the same public key 
> it did on the old host?

Yes, you can move them. All you need to do is copy the files over. Make 
sure they are in the right place and away you go. If the keys were 
actualy tied to the hardware this would be more difficult but they aren't.

More information about the openssh-unix-dev mailing list