openssh hostkey problem

From: Shekhar Dhotre (Shekhar.Dhotre@LENDLEASEREI.COM)
Date: Thu Apr 24 2003 - 16:51:40 EDT


I have installed openssh on AIX4.33 ,but When I try to start ssh server
,It gives me following error .

$ /usr/local/sbin/sshd

Could not load host key: /usr/local/etc/ssh_host_key
Could not load host key: /usr/local/etc/ssh_host_rsa_key
Could not load host key: /usr/local/etc/ssh_host_dsa_key
Disabling protocol version 1. Could not load host key
Disabling protocol version 2. Could not load host key
sshd: no hostkeys available -- exiting.

How to create key ??? example would help ..

# /usr/local/bin/ssh-keygen
You must specify a key type (-t).
Usage: ssh-keygen [options]
Options:
  -b bits Number of bits in the key to create.
  -c Change comment in private and public key files.
  -e Convert OpenSSH to IETF SECSH key file.
  -f filename Filename of the key file.
  -i Convert IETF SECSH to OpenSSH key file.
  -l Show fingerprint of key file.
  -p Change passphrase of private key file.
  -q Quiet.
  -y Read private key file and print public key.
  -t type Specify type of key to create.
  -B Show bubblebabble digest of key file.
  -C comment Provide new comment.
  -N phrase Provide new passphrase.
  -P phrase Provide old passphrase.
#

Thanks
SD



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:46 EDT