Operating System - HP-UX
1834116 Members
2634 Online
110064 Solutions
New Discussion

HP-UX Secure Shell A.03.81.002 on two machine but sshd is different

 
breiner
Occasional Contributor

HP-UX Secure Shell A.03.81.002 on two machine but sshd is different

Hello,

I've installed HP-UX Secure Shell A.03.81.002 on two machine HP 9000/785 HPUX 11.00.
On the machine A, I run the command :
strings /opt/ssh/PA-RISC2.0/sbin/sshd | grep pam.
The result is: keyboard-interactive/pam
On this machine sshd works very well.
On the second machine B, I run the same command :
strings /opt/ssh/PA-RISC2.0/sbin/sshd | grep pam.
The result is :

/usr/lib/libpam.1
pam_close_session
pam_get_item
pam_start
pam_strerror
pam_set_item
pam_end
pam_acct_mgmt
pam_authenticate
pam_setcred
pam_open_session
pam_chauthtok
mm_answer_pam_start
mm_answer_pam_account
mm_answer_pam_init_ctx
mm_answer_pam_query
mm_answer_pam_respond
mm_answer_pam_free_ctx
mm_sshpam_init_ctx
mm_sshpam_query
mm_sshpam_respond
mm_sshpam_free_ctx
sshpam_init_ctx
sshpam_query
sshpam_respond
sshpam_free_ctx
sshpam_thread_conv
sshpam_thread
pam_password_conv
sshpam_null_conv
pam_tty_conv
pam_store_conv
usepam
pamauthenticationviakbdint
keyboard-interactive/pam
mm_answer_pam_start
mm_answer_pam_account
mm_answer_pam_init_ctx
mm_answer_pam_query
mm_answer_pam_respond
mm_answer_pam_free_ctx
mm_start_pam
mm_do_pam_account
mm_sshpam_init_ctx
mm_sshpam_query
mm_sshpam_respond
mm_sshpam_free_ctx
%s: pam_init_ctx failed
%s: pam_query returned %d
%s: pam_respond returned %d
pam_password_change_required
sshpam_thread_conv
sshpam_thread
sshpam_thread_cleanup
sshpam_null_conv
sshpam_init_ctx
sshpam_query
sshpam_respond
sshpam_free_ctx
do_pam_account
pam_tty_conv
pam_store_conv
@(#)$Id: auth-pam.c,v 1.100 2004/04/18 01:00:26 dtucker Exp $
PAM: %s pam_acct_mgmt = %d
PAM: pam_setcred(): %s
PAM: pam_chauthtok(): %s
PAM: pam_open_session(): %s
Running do_pam_password for user = %s
keyboard-interactive/pam

sshd on this machine give me an error PAM conversation failure.

The sshd of each machine are configured with UsePAM yes.
I would be great if someone could help me.

Best regards

Gerard Breiner
Institut d'Astrophysique Spatiale
Orsay Campus
France



3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: HP-UX Secure Shell A.03.81.002 on two machine but sshd is different

On the malfunctioning machine:

swremove secure shell

swinstall it again.

I don't have an explanation, but this should resolve the problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
breiner
Occasional Contributor

Re: HP-UX Secure Shell A.03.81.002 on two machine but sshd is different

I've made this before I write to you but that change nothing.
Armin Kunaschik
Esteemed Contributor

Re: HP-UX Secure Shell A.03.81.002 on two machine but sshd is different

I had the same problem on a HP-UX 11.00 host.
On another host it worked.
The difference was the patchlevel.
Check the recommended patches! See http://www.docs.hp.com/en/T1471-90011/ch01s08.html#babjebhg
On a system with current patches everything works fine.

Armin
And now for something completely different...