openssh on HPUX 11i

Loveland, Matt Matt.Loveland at
Tue Aug 6 01:53:04 EST 2002

I'm curious as to why OpenSSH would require IPV6?

Here is the error I get when trying to SSH from an HP-UX 11i system to an
HP-UX 11.00 system.  Both systems are running OpenSSH 3.4p1.

[hhlablu3:/home/lovelanm] ssh -v -v -v -p 22

OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
debug1: Reading configuration data /opt/openssh/etc/ssh_config
debug1: Applying options for *
debug3: cipher ok: aes192-cbc
debug3: cipher ok: aes256-cbc
debug3: cipher ok: blowfish-cbc
debug3: cipher ok: 3des-cbc
debug3: cipher ok: aes128-cbc
debug3: ciphers ok: [aes192-cbc,aes256-cbc,blowfish-cbc,3des-cbc,aes128-cbc]
debug3: Seeding PRNG from /opt/openssh/libexec/ssh-rand-helper
debug1: Rhosts Authentication disabled, originating port will not be
debug1: ssh_connect: needpriv 0
ssh: host nor service provided, or not known

There don't appear to be any issues with sshd running on the 11i server.  I
can ssh/scp/sftp to it normally.

I really don't want to have to put the IPV6 package on all my boxes, so if
someone knows of a workaround, that would be great.

Matt Loveland
Unix Architect, NetEffects, Inc.

 -----Original Message-----
From: 	Tom Lieuallen [mailto:toml at] 
Sent:	Monday, August 05, 2002 10:25 AM
To:	openssh-unix-dev at
Subject:	openssh on HPUX 11i

In case this hasn't already been reported or discussed...

It took some doing for me to get openssh working on HPUX 11i.
The fixes are quite simple.  First, one must have the IPV6
package installed:

em 512# swlist -l product | grep IPV6
  IPV6AA                A.01.01.5D     IPv6 11i product 

Second, I have to edit config.h to undefine HAVE_GETADDRINFO.

Without IPV6, ssh can't connect to remote hosts. I don't recall,
but sshd might still function.  Without undefining HAVE_GETADDRINFO,
X11 doesn't work.  It won't setup the virtual display and set DISPLAY.

On a different note, our /usr/local is in NFS, and as we absolutely
depend on SSH (no telnet or rsh), we install ssh locally in /usr.
But, our openssl is installed in /usr/local.  Every time I compile
openssh I have to remember to edit the Makefile and set options so
that libcrypto (and libz on solaris) are linked staticly.  This is
really an environment issue/challenge, but I wouldn't be surprised if
others encounter it as well.  It might be a nice addition to a howto
or readme if people don't feel it is worth addressing with configure. :-)

I don't read this list, so if there is any desire to mail back,
do so separately. :-)

Thank you

Tom Lieuallen
Oregon State University
openssh-unix-dev at mailing list

WARNING:  All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the openssh-unix-dev mailing list