Allen BrownMon Jan 10 15:41:17 PST 2005
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: Could not load host key: /etc/ssh/ssh_host_key Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 1. Could not load host key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. So that doesn't seem to work. -- Allen Brown work: Agilent Technologies non-work: http://www.peak.org/~abrown/ allen_brown at agilent.com abrown at peak.org Man does not live by bread alone. He's got to have some peanut butter.