Operating System - HP-UX
1832201 Members
2555 Online
110039 Solutions
New Discussion

relatioship between, ssh,pam.conf, password length and delay in getting password prompt

 
Rajanish C
New Member

relatioship between, ssh,pam.conf, password length and delay in getting password prompt

Hi,
i am having 2 rp series machines running hp ux 11.11 in trusted mode. After a reboot one of the machine is having problem with ssh login using putty. if i enable "use pam=yes" then it take about 2 minute to get the password prompt after i type in the user name. if i un set the "use pams=yes" option then it is giving access denied to any user having a password of more than 8 charecter length. on the other machine it is "use pams=yes" enabled and it takes paswords which are longer than 8 charecters and dont have any issue in getting the prompt too. both are running latest QPK and ssh version is 4.something.(i forgot to not this excatly)
Regards
Rajanish C
8 REPLIES 8
RAC_1
Honored Contributor

Re: relatioship between, ssh,pam.conf, password length and delay in getting password prompt

Did you check nslookup on the server where you have problem? Can you do telnet and check. This will confirm if delay is associated with ssh or not. From client nslookup on slow server-on ip address and on hostname.
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: relatioship between, ssh,pam.conf, password length and delay in getting password prompt

Shalom

Non-trusted hp-ux systems ignore passwords greater than 8 characters.

The delay you experience is probably a network delay, you should check /etc/resolv.conf name resolution for delays.

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
Steven E. Protter
Exalted Contributor

Re: relatioship between, ssh,pam.conf, password length and delay in getting password prompt

Shalom

Non-trusted hp-ux systems ignore passwords greater than 8 characters.

The delay you experience is probably a network delay, you should check /etc/resolv.conf name resolution for delays.

swlist -l product | grep -i secure

Anything but the lastest Secure Shell is known to have problems. 4.2.004 is what you need.


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
Rajanish C
New Member

Re: relatioship between, ssh,pam.conf, password length and delay in getting password prompt

Hi,
I have mentioned it already that the system is running in trusted mode and i am not having any issue with telnet/ftp
Regards
Rajanish C
RAC_1
Honored Contributor

Re: relatioship between, ssh,pam.conf, password length and delay in getting password prompt

What if you set PAM=yes and enter just first 8 chars of password?
There is no substitute to HARDWORK
Haralambos
Advisor

Re: relatioship between, ssh,pam.conf, password length and delay in getting password prompt

Rajanish C
New Member

Re: relatioship between, ssh,pam.conf, password length and delay in getting password prompt

Hi,
If i set "usePAM=yes" it solves the problem with password length but it takes a long time (around 2 minutes) for the password prompt to appear.
Regards
Rajanish C
Bill Hassell
Honored Contributor

Re: relatioship between, ssh,pam.conf, password length and delay in getting password prompt

You may want to get a trace of the sshd login to see which step is having a problem. You may find that the call to generate a random number is the culprit. Without the new random number generator (KRNG), a number of system queries are done to obtain a certain amount of entropy (randomness), some of which require a long time to run on certain configurations. See patch PHKL_27750.


Bill Hassell, sysadmin