Hi

Ok, it seems I don't need openssl??? I just need ssh, scp and sshd.
ssh and scp are working from this box but without sshd running I cannot scp
or ssh to this box.

I ran ssh-keygen to /usr/local/etc/ssh_host_key
and then sshd
this is the result I got....
# sshd
error: Could not load host key: /usr/local/etc/ssh_host_key: No such file or
directory
Disabling protocol version 1
error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
error: @         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
error: Bad ownership or mode(0644) for '/usr/local/etc/ssh_host_dsa_key'.
error: It is recommended that your private key files are NOT accessible by
others.
error: Could not load DSA host key: /usr/local/etc/ssh_host_dsa_key
Disabling protocol version 2
sshd: no hostkeys available -- exiting.
sshd: no hostkeys available -- exiting.

Any ideas

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Hans-Joerg Hoexer
Sent: Tuesday, May 01, 2001 12:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Generating keys on Sol 7


Hi,

On Tue, May 01, 2001 at 11:22:47AM -0700, Andre Steenkamp wrote:
> However I would like the server ssh and scp to work as well -- this
machine
> is on a private lan with no access to the internet so I believe it needs
> keys and certificates local only to itself.
>
> when I try to generate the keys I get this....
>
> # ./openssl gendsa -out file /usr/local/etc/ssh_host_dsa_key

take a look at the manpages sshd(8) and ssh-keygen(1).

Cheers,
Hans

--
pub  1024D/513AEFD9 1999-12-18 Hans-Joerg Hoexer
                 <[EMAIL PROTECTED]>
Key fingerprint = 83D2 436A 0D3C 34A9 E0FF  4C33 35F6 617C 513A EFD9

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to