AW: openssh hostkey problem

From: Sippel, Christian (Christian.Sippel@IZB.DE)
Date: Fri Apr 25 2003 - 03:51:26 EDT


I do it like this:

cd /usr/bin
./ssh-keygen -t rsa1 -f /etc/ssh_host_key -N ""
./ssh-keygen -t dsa -f /etc/ssh_host_dsa_key -N ""
./ssh-keygen -t rsa -f /etc/ssh_host_rsa_key -N ""

HTH,
Christian

> ----------
> Von: Shekhar Dhotre[SMTP:Shekhar.Dhotre@LENDLEASEREI.COM]
> Antwort an: IBM AIX Discussion List
> Gesendet: Donnerstag, 24. April 2003 22:51
> An: aix-l@Princeton.EDU
> Betreff: openssh hostkey problem
>
>
>
> 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