On Wed, Aug 13, 2003 at 06:23:34PM +0200, Rudy Gevaert wrote:
> 
> I have just changed host names.  What is the correct way to regenerate
> the /etc/ssh_host* keys?

You don't really need to unless you _really_ want to.  The host key
isn't tied to the machine's name.

The following is how the ssh.postinst script creates them:
   
   ssh-keygen -q -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
   ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
   
-- 
Jamin W. Collins

To be nobody but yourself when the whole world is trying it's best night
and day to make you everybody else is to fight the hardest battle any
human being will fight. -- E.E. Cummings


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to