Subject: ssh-keygen
To: None <port-mac68k@netbsd.org>
From: Kadari Mayson <dark3lf@mac.com>
List: port-mac68k
Date: 12/29/2000 15:28:18
Hi, could someone please help me?  I am trying to start sshd.  What am I =
doing wrong?  To create a hostkey, I type this: =20

'ssh-keygen -b 1024 -f /etc/ssh_host_key -N example'. =20

Is there anything else needed to start sshd?  I get this output:=20

Generating RSA keys:  Key generation complete.
Your identification has been saved in /etc/ssh_host_key.
Your public key has been saved in /etc/ssh_host_key.pub.
The key fingerprint is:
82:59:c5:a8:0b:2d:05:d6:1b:6b:c6:85:a3:24:fc:b6 root@user.com (edited, =
not real FQDN)

I then type:

'/usr/bin/sshd'

and i get:

error: Could not load host key: /etc/ssh_host_key: Bad file descriptor
Disabling protocol version 1
error: Could not load DSA host key: /etc/ssh_host_dsa_key
Disabling protocol version 2
sshd: no hostkeys available -- exiting.
sshd: no hostkeys available -- exiting.

What more is necessary?  I remember when I started ssh on another =
machine, this is all I had to do.

tia
/km