Problem with ssh-3.1.0 on HP-UX

From: Andrey V. Petukhov (pav@oagu.perm.cbr.ru)
Date: 12/17/01


From: "Andrey V. Petukhov" <pav@oagu.perm.cbr.ru>
Date: Mon, 17 Dec 2001 12:59:48 +0500

I have HP-UX and gcc:
# uname -a
HP-UX hpcons B.11.00 U 9000/785 2011189169 unlimited-user license
# gcc -v
Reading specs from
 /usr/local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2/specs
Configured with: ../gcc/configure
 --prefix=/usr/local/pa20_64
 --enable-languages=c,c++
 --host=hppa64-hp-hpux11.00
 --target=hppa64-hp-hpux11.00
 --with-ld=/usr/ccs/bin/ld
 --with-gnu-as
 --enable-libstdcxx-v3
Thread model: single
gcc version 3.0.2

I want to use ssh-3.1.0:
# CFLAGS="-O2 -D_HPUX_SOURCE" ./configure
 --with-x
 --with-piddir=/usr/local/var/run
 --with-foreign-etcdir=/usr/local/etc
 --enable-debug-heavy
 --enable-efence
... ... ...
Configuration summary:
======================

  Host type................: hppa2.0w-hp-hpux11.00
  CC.......................: gcc
  CPPFLAGS.................:

CFLAGS...................: -O2 -D_HPUX_SOURCE -O2 -Wall -Wno-unknown-pragmas
  LDFLAGS..................:

LIBS.....................: -lm -lnsl -lsec -lnsl -L/usr/local/lib -lrpcsvc
-lsec -lrpcsvc
  X includes...............: NO
  X libraries..............: /usr/lib/X11R4

  Debug enabled............: heavy
  IPv6 support.............: no
  RSA support..............: yes
  SSH1 internal emulation..: yes
  SSH1 fallback capability.: no
  PAM support in server....: no
  PAM support in client....: yes
  SecurID support in server: no
  SecurID support in client: yes
  Kerberos5 support........: no
  TCP Wrappers support.....: no
  Terminal capability lib..: termcap

  Installation prefix......: /usr/local
  bin directory............: /usr/local/bin
  sbin directory...........: /usr/local/sbin
  man directory............: /usr/local/man
  ssh2 etc directory.......: /usr/local/etc/ssh2
  PID-file directory.......: /usr/local/var/run
# make
# make install

Then I start sshd2:
# sshd2 -v -f /usr/local/etc/ssh2/sshd2_config.test
and try to connect with other computer.

Sshd2 is hangup and I have in /var/adm/syslog/syslog.log:
Dec 14 12:43:03 hpcons vmunix:
Dec 14 12:43:03 hpcons vmunix: System call 76 (vhangup) was called in a
kernel where the
Dec 14 12:43:03 hpcons vmunix: type of at least one of its arguments is
currently
Dec 14 12:43:03 hpcons vmunix: unspecified. This is a problem that must be
fixed by
Dec 14 12:43:03 hpcons vmunix: the owner of the system call before the
kernel can be
Dec 14 12:43:03 hpcons vmunix: released. The process was pid 1511 (sshd2).

       Please, help me.

--
: Andrey V. Petukhov                     pav@oagu.perm.cbr.ru
: postmaster                                    pav@oagu.gucb.perm.su
: Main agency of central bank         Phone:  (3422) 917439
: Perm region                                  (3422) 917691


Loading