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

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


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.

-- 
<jakemsr at jakemsr.com>


More information about the EUGLUG mailing list