Hi Ron,
You do not want give the hostkey a passphrase.
Try this:
# ssh-keygen2 -P /etc/ssh2/hostkey
-Anne
On Thu, May 11, 2000 at 11:43:52AM -0400, Ron Webster wrote:
> when trying to create the hostkey.pub I get the error message below. (Note: the pass
>phrase has been changed.)
> Do I need an already existing DSS public key to create one? Does this indicate an
>error in the compiling of the program?
> This is the free for nonprofit version 2.1.0.
> Thanks for any help.
>
> ********begin error message received *****************
> unix1 [10:48am] [/etc/ssh2] # /usr/local/bin/ssh-keygen2 -b 1024 -t dsa -p
>Somepassfraze
> Generating 1024-bit dsa key pair
> 6 Oo.oOoo.oOo.
> Key generated.
> 1024-bit dsa, [EMAIL PROTECTED], Thu May 11 2000 14:48:49
> Private key saved to //.ssh2/id_dsa_1024_b
> ssh_encode_pubkeyblob: failed to get internal parameters from a DSS public key.
> Public key not written !
> ******* end error message
>
> Ron Webster
> Information Systems
> Westminster College
> New Wilmington, PA 16172
> Phone (724)946-7032
> Fax: (724) 946-7158
> email: [EMAIL PROTECTED]
>
------------------------------------------------------------------------
Anne Carasik, Principal Consultant | Any two consenting adults can rub
SSH Communications Security, Inc. | two primes together to create
Email: [EMAIL PROTECTED] | a public keypair" - R. Thayer
------------------------------------------------------------------------