Bug 26937

Summary: reuse SSH connections
Product: [Eclipse Project] Platform Reporter: Genady Beryozkin <eclipse>
Component: TeamAssignee: Boris Shingarov <bshingar>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: brian.larson, eclipse, ian, sven.koehler
Version: 2.1Keywords: performance
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Genady Beryozkin CLA 2002-11-22 08:49:40 EST
eclipse now opens SSH connection for every tiny CVS operation.
For example, in the "synchronize with repository" view, when I click on a file
to compare it with the repository versions, up to 4 ssh connections are opened.
(I have a personal firewall that tells me such details).
Of course, when I select a different file, I get another 4 new ssh connections 
open and close.

This a huge waste of time and of CPU resources both on the client and the 
server. Setting up SSH connection performs Diffie Hellman each time, and it is 
time consuming operation.

I suggest you investigate the possibility to keep one open ssh connection and 
reuse it when possible.
Comment 1 Boris Shingarov CLA 2002-11-26 13:53:38 EST
Support for this will be in the SSH2 plugin that is currenty being dveloped.
Comment 2 Stephen Gevers CLA 2003-03-21 14:34:52 EST
The company I work for uses SecureID.  The reporter was only concerned about
resources.  However, If your password changes every time you connect to a
machine using ssh (as with SecureID), then multiple ssh connections means
multiple dialog boxes requesting passwords.  Reusing the ssh connection would
prevent this.  I'm very interested such functionality.
Comment 3 Boris Shingarov CLA 2003-03-21 14:50:19 EST
Stephen,

Support for reusing ssh connections *will* be in the ssh2 connection method 
when it becomes available.

Unfortunately, with the ssh1 implementation such reuse is not possible, so you 
will have to wait for ssh2.
Comment 4 Brian Larson CLA 2003-04-14 12:14:02 EDT
For what release is SSH2 planned?  I can't find any reference to it in the 
plans I've looked at.
Comment 5 Sven Köhler CLA 2003-05-04 11:01:42 EDT
there is a ssh2 plugin at http://www.jcraft.com/eclipse-cvsssh2/ which solves
this "bug".
Comment 6 Michael Valenta CLA 2003-05-06 09:18:18 EDT

*** This bug has been marked as a duplicate of 25238 ***