Re: AW: openssh hostkey problem

From: Shekhar Dhotre (Shekhar.Dhotre_at_LENDLEASEREI.COM)
Date: 04/25/03

  • Next message: Baruch Shpirer: "Re: File greater than 2 GB"
    Date:         Fri, 25 Apr 2003 12:24:19 -0400
    To: aix-l@Princeton.EDU
    
    

    Thanks Sippel ,It works ..

    SD

    "Sippel, Christian" <Christian.Sippel@IZB.DE>
    Sent by: IBM AIX Discussion List <aix-l@Princeton.EDU>
    04/25/2003 03:51 AM
    Please respond to
    IBM AIX Discussion List <aix-l@Princeton.EDU>

    To
    aix-l@Princeton.EDU
    cc

    Subject
    AW: openssh hostkey problem

    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
    >


  • Next message: Baruch Shpirer: "Re: File greater than 2 GB"