- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Slow ssh key exchange.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 02:53 PM
03-06-2003 02:53 PM
Slow ssh key exchange.
With my Linux boxes at home ssh
Between my HP-UX boxes, there is a delay of between 30-60 seconds.
Someone posted a fix to install that brings this down to 5 secons.
I need the patch for 11.00 and 11.11 because I have a mixed environment.
If you beat the support center extra kudos for you.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:08 PM
03-06-2003 03:08 PM
Re: Slow ssh key exchange.
This could be a DNS reverse name lookup problem or a badly configured '/etc/nsswitch.conf' file. Make sure it contains "hosts:files [NOTFOUND=continue] dns" for DNS lookups.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:08 PM
03-06-2003 03:08 PM
Re: Slow ssh key exchange.
I seem to remember that the delay is due to HP-UX's lack of the /dev/random device.
Anyway, here's a couple thread dealing with the issue:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6edae822e739d711abdc0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2bde35067c18d6118ff40090279cd0f9,00.html
I can't seem to find the specific thread I remember, but I'll keep looking.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:10 PM
03-06-2003 03:10 PM
Re: Slow ssh key exchange.
It is dependent on how much strong your random number generation you want. This is done by prng commands.
If you are using openssh, you will find these commands in /opt/openssh2/etc/ssh_prng_cmds.
You can probably delete some of the commands like netstat that will take long time to produce the output. You can make it much longer if you add commands like ioscan :-).
Just remember, the less you have in there, weaker will be the Random number generation.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:22 PM
03-06-2003 03:22 PM
Re: Slow ssh key exchange.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:23 PM
03-06-2003 03:23 PM
Re: Slow ssh key exchange.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:27 PM
03-06-2003 03:27 PM
Re: Slow ssh key exchange.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:28 PM
03-06-2003 03:28 PM
Re: Slow ssh key exchange.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:33 PM
03-06-2003 03:33 PM
Re: Slow ssh key exchange.
I know for 11.11, you can install KRNG. It will create a /dev/random interface and may speed up the key generation.
Look at this link.
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=KRNG11I
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:35 PM
03-06-2003 03:35 PM
Re: Slow ssh key exchange.
Take a look at that file, mine has approx 60 seperate commands with a mix of ls, tail, netstat, ifconfig, etc.
These determine the *random* # generated.
It's the *time* that it takes to run them that's delaying the connection.
What HP *NEEDS* is a /dev/random device to generate random #s quickly.
If it's a patch, it going to have to be a patch that gives us /dev/random. 'Til then we're stuck generating randoms in this fashion.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:40 PM
03-06-2003 03:40 PM
Re: Slow ssh key exchange.
Because the public key is the seed for generating the keys that go across the network right?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:45 PM
03-06-2003 03:45 PM
Re: Slow ssh key exchange.
iam@myserver:>ssh -vvv somewhereelse
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090605f
debug1: Reading configuration data /opt/openssh2/etc/ssh_config
debug3: Seeding PRNG from /opt/openssh2/libexec/ssh-rand-helper
(waits here until it finishes generating the random number)
^ that is your answer.
You have another headache to deal with if you are using openssh. It cannot manage the expired passwords. I tried to apply pam patches unsuccessfully. Am waiting to compile 3.5 with other patches to see if it can help us.
I would suggest you to go with secure shell of HP that is much better than openssh. I guess it is supported by HP.
Just giving you heads up.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 03:48 PM
03-06-2003 03:48 PM
Re: Slow ssh key exchange.
And if the user successfully decrypts it proves the user does in fact truly know the private key w/o disclosing it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 05:15 PM
03-06-2003 05:15 PM
Re: Slow ssh key exchange.
http://newfdawg.com/SSHpart5.htm
- Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 05:58 PM
03-06-2003 05:58 PM
Re: Slow ssh key exchange.
We are not using openssh, per say.
I will try your ideas and get additional diagnostics. Perhaps this is why my Linux comparison is bad. That is openssh, packaged by red hat as an rpm.
Still the vvv mode sounds interesting. Nobody heard of a patch in regards to this?
Note: My son got the flu, I'll get back and handle points a little later.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 09:01 PM
03-06-2003 09:01 PM
Re: Slow ssh key exchange.
But I lost the argument because we were more concerned about time to
release.
But as my esteemed colleague has pointed out, we've now discovered reasons to regret that decision.
This is an issue that should be discussed MUCH more in our profession.
What's more important - timeliness, support or stability? And the real twist comes when you throw security into the equation.
But I lose no sleep over these issues, because I *never* forget that without these Mobius strips, we'd be without a job.
My $0.02,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2003 05:37 AM
03-07-2003 05:37 AM
Re: Slow ssh key exchange.
What's more important - timeliness, support or stability?
They are all important.
I think HP strives to provide balance and usually does. I can tolerate the ssh key exchange delay so long as HP commits to doing something about it.
SEP
Still nobody knows about a patch, I thought I saw a post.
:-(
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com