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

Jacob Meuser jakemsr at jakemsr.com
Mon Jan 10 15:57:12 PST 2005


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.

-- 
<jakemsr at jakemsr.com>


More information about the EUGLUG mailing list