OpenSSH 2.3.0p4/2.2.0p1, Solaris 8, ssh-keygen bus error
Edward S. Marshall
emarshall at mercantec.com
Fri Feb 9 02:51:35 EST 2001
Hi,
I'm having a problem with ssh-keygen on Solaris 8; upon running, it
produces a bus error due to a function call in OpenSSL (RC4_set_key):
[...]
(gdb) where
#0 0x3440c in RC4_set_key ()
#1 0x2b890 in arc4random_stir ()
at /merc/tools/src/openssh-2.3.0p1/bsd-arc4random.c:65
#2 0x23ca8 in main (ac=1, av=0xffbefb94)
at /merc/tools/src/openssh-2.3.0p1/ssh-keygen.c:720
I get identical results with any combination of:
- gcc 2.95.2/binutils 2.10.1, or just gcc with Sun's as/ld (I do not have
a WorkShop C licence), either built from source or obtained from Sun's
"companion" CD (gcc only; they don't ship binutils).
- OpenSSL 0.9.5a and 0.9.6, built from source.
- OpenSSH 2.3.0p4 and 2.2.0p1, built from source.
I'm using the ANDIrand (http://www.cosy.sbg.ac.at/~andi/) package to
provide /dev/random, rather than EGD or SUNWski. ssh and sshd appear to be
working as advertised, but key generation fails consistantly.
I'm planning on trying the 10/00 Solaris 8 release as soon as I get a
chance to download it from Sun.
Suggestions? This looks like an openssl problem, but I'd think I wouldn't
be the only one seeing this (the archives didn't indicate anyone else
having this kind of problem)...
--
Edward S. Marshall <emarshall at mercantec.com> UNIX Administrator
http://www.nyx.net/~emarshal/ Mercantec, Inc.
More information about the openssh-unix-dev
mailing list