1830327 Members
2155 Online
110001 Solutions
New Discussion

ssh takes long

 
joe_91
Super Advisor

ssh takes long

I am trying to login to the machine. I get type in login id (root, normal user), it takes it and then takes a long time to display the password prompt. once u type the password the login is quick. what could be the issue?

Thanks

Joe
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: ssh takes long

Shalom Joe,

Three possible factors here:

Version of Secure Shell on the server
swlist -l product | grep -i secure

how fast host resolution occurs on the client machine: /etc/resolv.conf

Strong random number generation on the server to do the encryption more quickly.

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=KRNG11I
11i v1 only. Its built into 11i v2. Its not available for 11.00 at all.

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
joe_91
Super Advisor

Re: ssh takes long

this is the output from swlist
# swlist -l product|grep -i secure
openssl A.00.09.07-d.010 Secure Network Communications Protocol

Thanks

Joe
A. Clay Stephenson
Acclaimed Contributor

Re: ssh takes long

Run this command:

swlist | grep -i "RNG"

I'm betting you don't have the Strong Random Number Generator (or it is not functional, if installed).
If it ain't broke, I can fix that.
joe_91
Super Advisor

Re: ssh takes long

This is what i get....

swlist -l fileset -a state |grep -i "RNG"
openssl.OPENSSL-PRNG configured
# prngd
prngd.prngd-RUN configured

we have checked and dns is fine.

Thanks

Joe
Ron Cohen
New Member

Re: ssh takes long

check the size of the wtmp file.