Operating System - HP-UX
1832592 Members
3040 Online
110043 Solutions
New Discussion

Openssh and Bundle patches

 
SOLVED
Go to solution
Pascal Rouchon
Advisor

Openssh and Bundle patches

Hi,

I have openssh installed on all my HP servers. Once i install the decembre bundle patch or march bundle, i get a strange error, ssh is not able to resolve name of server anymore.

example:

"ssh " -> Failed
ssh: : host nor service provided, or not known

but

ssh -> well working.


on a server with no bundle patches are working. anyone have an idea?


Pascal
10 REPLIES 10
David Burgess
Esteemed Contributor

Re: Openssh and Bundle patches

It sounds like it's patched your ssh config files and kindly overwritten them. Can you check the config files and see if that's the case. I guess the timestamp will be when you patched the server.

HTH

Dave.
Pascal Rouchon
Advisor

Re: Openssh and Bundle patches

No this is not that, because on a new server i have installed the OS then the patches and then i have compiled openssh and i have the same probleme.

But i have also think about that in first

Thanks
Fabio Maciel
Occasional Advisor

Re: Openssh and Bundle patches

Hi,

Tell me, the problem with the name resolution is only with the SSH? if you try to do a simple ping it works???

To me, the cause of the problem is related to the DNS or HOSTS configuration.

The HP-UX patches won't change the SSH installation.

If you use the hosts files, check it to see if all the information you previous puted there, still there, or if you are using DNS or other kind of Name resolution system, check if its working fine.

Regards

F??bio
"Every step brings me closer to my last"
Pascal Rouchon
Advisor

Re: Openssh and Bundle patches

No host resolution is working fine ping resolve the name, it's sounds like if a library in HP-UX have change. the only test i have not made is to compile a static ssh on a non patched server and put the code on another. if this works then it's clear that is a Library. But i didn't have a non patched server.
Venkatesh babu sira_1
Occasional Advisor

Re: Openssh and Bundle patches

Hi,
I also have the same problem,if the hostname is in /etc/hosts file after installing the patch,ssh works else no,but HP server is also NIS+,but it is not looking into DNS & NIS.
Patch is PHCO_25568
Let me know any clues for ssh looking beyond /etc/hosts file.
Thanks
-B
Derek Marshall_1
New Member

Re: Openssh and Bundle patches

see also:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7a2618276953d61190040090279cd0f9,00.html

I still have not found a suitable fix. I would love a patch to either openssh or HPUX.
Pascal Rouchon
Advisor

Re: Openssh and Bundle patches

Thanks guy,

I have found the fix: run the ./configure

the edit the file config.h and replace the line

#define HAVE_GETADDRINFO 1

by:
#undef HAVE_GETADDRINFO

Since decembre HP as implemented a non standard getaddrinfo function in libc, before december the getaddrinfo function doesn't exist so configure ignore it.
Derek Marshall_1
New Member
Solution

Re: Openssh and Bundle patches

cheers!
Matt Loveland
New Member

Re: Openssh and Bundle patches

It appears that HP's getaddrinfo() does not work on IPv4-only systems. If you install the IPv6 package, it still does not work with OpenSSH.

What are the consequences of doing the

#undef HAVE_GETADDRINFO ?

I would like to see a patch/fix from HP for getaddrinfo().

Thanks,
Matt Loveland
Unix Architect, NetEffects, Inc.
Oliver White
Occasional Advisor

Re: Openssh and Bundle patches

For those searching the archives for the solution to this problem, the patch from HP that really fixes this problem is PHNE_27796