Bug 26937 - reuse SSH connections
Summary: reuse SSH connections
Status: RESOLVED DUPLICATE of bug 25238
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Boris Shingarov CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2002-11-22 08:49 EST by Genady Beryozkin CLA
Modified: 2003-05-06 09:18 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***