RE: OpenSSHd problem.

From: Louis Erickson (LErickson@ariba.com)
Date: 07/30/02


From: Louis Erickson <LErickson@ariba.com>
To: "'Lee Rich'" <lee.rich@wlga.gov.uk>
Date: Tue, 30 Jul 2002 13:34:08 -0700

Deep in the manual page for sshd(8), it says:

     /etc/ssh_host_key.pub, /etc/ssh_host_dsa_key.pub,
             /etc/ssh_host_rsa_key.pub
             These three files contain the public parts of the host keys.
             These files should be world-readable but writable only by root.
             Their contents should match the respective private parts.
These
             files are not really used for anything; they are provided for
the
             convenience of the user so their contents can be copied to
known
             hosts files. These files are created using ssh-keygen(1).

If you'll run ssh-keygen(1), you can create those keys. You'll probably
need two, one RSA and one DSA. Use -t to specify which one.

> -----Original Message-----
> From: Lee Rich [mailto:lee.rich@wlga.gov.uk]
> Sent: Monday, July 29, 2002 6:13 AM
> To: security-basics@securityfocus.com
> Subject: OpenSSHd problem.
>
>
> Afternoon people. I'm wondering if anyone can aid me with a
> small problem I have..
> I have just installed OpenSSH2.9p2 (from the RH7.2 RPM's) and
> configured the config file to my liking. However I don't have
> any host key files.
> SSHd won't run unless they are present witin the specified
> directory. Is there a way to generate a host key.. or am I
> missing something here?
>
> Thanks in advance.
>
> Regards
>
> Lee Rich
> Information & Communication Technology Services
> Welsh Local Government Association
> Tel: 02920 468 666
> Email: lee.rich@wlga.gov.uk
>



Relevant Pages

  • RE: OpenSSHd problem.
    ... Subject: OpenSSHd problem. ... config file to my liking. ... However I don't have any host key files. ...
    (Security-Basics)
  • RE: OpenSSHd problem.
    ... You have to run the ssh-keygen utility included with the application. ... config file to my liking. ... However I don't have any host key files. ...
    (Security-Basics)
  • Re: OpenSSHd problem.
    ... Regards, ... the config file to my liking. ... However I don't have any host key files. ...
    (Security-Basics)
  • RE: OpenSSHd problem.
    ... Kind regards, ... config file to my liking. ... However I don't have any host key files. ...
    (Security-Basics)