On Fri, Dec 10, 1999 at 05:43:46PM -0800, Li, Wei-ping wrote:
> Hi,

> a very beginner's question how do I generate the /etc/ssh_host_key file?

        It should get generated automatically when you do a "make install"
(or install the binary package).  Out of dozens of systems, I've never had
to generate one by hand.

        You didn't say what platform you are running.  If you installed the
RPMs for RedHat or installed OpenSSH, the file is /etc/ssh/ssh_host_key,
not /etc/ssh_host_key.  Make sure you know where it's suppose to go.

        If you really need to, the command to generate the host key would
be this:

        ssh-keygen -b 1024 -f /etc/ssh_host_key -N ''

> Thanks.

> Thanks.

> William

        Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  [EMAIL PROTECTED]
  (The Mad Wizard)      |  (770) 331-2437   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!

Reply via email to