OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: OpenSSH
From: Nick Slager (nicksalbury.net.au)
Date: Mon Jul 10 2000 - 19:53:41 CDT


Thus spake Ron Smith (ronnetronhotmail.com):

> This is probably a simple problem. I'm setting up 'sshd' on a FreeBSD
> 4.0-RELEASE box, but I can't start '/usr/sbin/sshd'. I get the following
> error message:
>
> error: Could not load host key: /etc/ssh/ssh_host_key: No such file or
> directory

You need to generate an RSA host key for the box. Something like:

/usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key

as root should do the trick. If you have ssh_enable set to "YES" in
/etc/rc.conf, the key will be generated automatically on reboot if
it doesn't exist.

Regards,

Nick.

-- 
 From a Sun Microsystems bug report (#4102680):
  "Workaround: don't pound on the mouse like a wild monkey."

To Unsubscribe: send mail to majordomoFreeBSD.org with "unsubscribe freebsd-security" in the body of the message