[Eug-lug] old /etc/ssh/ssh_host_key

Allen Brown allen_brown at agilent.com
Mon Jan 10 16:06:58 PST 2005


Jacob Meuser wrote:
> On Mon, Jan 10, 2005 at 03:41:17PM -0800, Allen Brown wrote:
> 
>>Jacob Meuser wrote:
>>
>>>On Mon, Jan 10, 2005 at 03:24:45PM -0800, Allen Brown wrote:
>>>
>>>
>>>>I just noticed that my /etc/ssh/ssh_host_key is 3 years old.
>>>>The install is not that old.  I think I should generate it.
>>>>
>>>>This is Debian Sarge.  Is there some nice way to do this?
>>>>Should I just use ssh-keygen?  (I just read the man page
>>>>and it wasn't clear what I am supposed to do.)
>>>
>>>
>>>sshd will create keys on startup if they don't exist.  you can just
>>>move your keys somewhere safe, stop and then restart sshd.
>>
>>I moved *keys*.  I then "/etc/init.d/ssh restart" and got:
> 
> 
> restart probably sends a SIGHUP, not the same as stopping and
> restarting.
> 

Separate stop and start behave exactly the same.  It doesn't work.
-- 
Allen Brown
   work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
         allen_brown at agilent.com	            abrown at peak.org
   Nothing dignifies labor so much as the saving of it. --- J. Rodgers


More information about the EUGLUG mailing list