Re: Question performnace of SSH v1 vs SSH v2

This is a discussion on Re: Question performnace of SSH v1 vs SSH v2 within the OpenSSH Development forums, part of the Networking and Network Related category; Amba Giri wrote: > I have ported OpenSSH 3.8p1 to a LynxOS platform. Recently I heard a > report ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-24-2005
Darren Tucker
 
Posts: n/a
Default Re: Question performnace of SSH v1 vs SSH v2

Amba Giri wrote:
> I have ported OpenSSH 3.8p1 to a LynxOS platform. Recently I heard a
> report from the field that v2 is perceived to be significantly slower
> than v1. Is this a known issue? Are there any configuration parameters
> that can be modified to make v2 faster?


In general, SSHv2 is slower because it's stronger.

That said, there are some things that can be done to speed it up.

If you haven't already, fiddle with your compiler flags for both OpenSSL
and OpenSSH. In particular, enabling hardware multiply instructions (eg
-mv8 on SPARCs) makes a noticable difference to the Diffie-Hellman exchange.

If you upgraded sshd, make sure you use the moduli file from a recent
distribution. Older ones had 2kbit moduli that were actually 2k-1
bits, so sshd would end up using larger ones than requested.

Older OpenSSH clients would ask for larger moduli than intended too, so
newer clients ought to be faster too.

You can also fiddle with the moduli file itself: keep only the lines with
a generator of 2 (exponentiating 2 may be faster than 5 on some
architectures).

(Most of this only applies if your clients are using DH Group Exchange.)

There's some more information here:
http://www.openssh.com/faq.html#3.3

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:32 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0