Bug 567 - ssh-keygen: DH parameter generation failed
Summary: ssh-keygen: DH parameter generation failed
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh-keygen (show other bugs)
Version: -current
Hardware: MIPS IRIX
: P1 major
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 19:03 AEST by Jean-Christophe Penalva
Modified: 2004-04-14 12:24 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Christophe Penalva 2003-05-15 19:03:17 AEST
At the end of the install process of openSSH 3.6.1p2 on irix 6.5.18f, there's a
pb with the ssh-keygen. I've the messages :
/usr/local/etc/ssh_config already exists, install will not overwrite
/usr/local/etc/sshd_config already exists, install will not overwrite
/usr/local/etc/ssh_prng_cmds already exists, install will not overwrite
/usr/local/etc/moduli already exists, install will not overwrite
Generating public/private rsa1 key pair.
rsa_generate_private_key: key generation failed.
Generating public/private dsa key pair.
dsa_generate_private_key: DSA_generate_parameters failed
Generating public/private rsa key pair.
rsa_generate_private_key: key generation failed.
make: *** [host-key] Error 255

The env variables :
CC=cc
CFLAGS="-mips3 -n32 -O2"
LDFLAGS="-L/usr/local/lib"
My configure options are :
./configure --with-privsep-user=sshd --with-ssl-dir=/usr/local/ssl
--with-tcp-wrappers=/usr/local/pub/tcp_wrappers_7.6
--with-default-path=/usr/sbin:/usr/bsd:/sbin:/usr/bin:/etc:/usr/etc:/usr/bin/X11:/usr/freeware/bin:/usr/oem/bin
Comment 1 Damien Miller 2003-05-15 22:04:46 AEST
This could be a problem in OpenSSL. Did you compile OpenSSL yourself? If so,
please run the "make test" target (or equivalent) and verify it is functioning
correctly.

Otherwise, try running "openssl dsaparam 1024"
Comment 2 Jean-Christophe Penalva 2003-05-16 00:17:37 AEST
Ok, it was a pb in OpenSSL during compil, now after a recompilation with gcc all
works.
Thank you.
Comment 3 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED