Bug 567

Summary: ssh-keygen: DH parameter generation failed
Product: Portable OpenSSH Reporter: Jean-Christophe Penalva <penalva>
Component: ssh-keygenAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED INVALID    
Severity: major CC: penalva
Priority: P1    
Version: -current   
Hardware: MIPS   
OS: IRIX   

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