Bug 35142 - [CVS Core] ext connection method should display command to console
Summary: [CVS Core] ext connection method should display command to console
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2003-03-17 09:32 EST by Jean-Michel Lemieux CLA
Modified: 2009-08-30 02:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel Lemieux CLA 2003-03-17 09:32:48 EST
2.1 RC3
If you use the 'ext' connection method the stderr stream is discarded and the
command used is not shown to the user. This has caused me much grief in trying
to setup a 'ext' connection because I wasn't able, short of debugging our own
code, to figure out why the connection was failing. We should:

1. send stderr when opening the connection to the CVS console.
2. send the command to the CVS console.
Comment 1 Chapman Flack CLA 2003-03-19 14:14:01 EST
I agree this bug makes setting up and debugging an ext connection miserable.
I'm adding a script I wrote that helps (on posixlike platforms only) to bug 6892.
Comment 2 yannic tognetti CLA 2003-04-22 09:11:32 EDT
Under windows (XP, 2000), when you try to use an external ssh client using the 
ssh2 protocole, the client is launched but it is impossible to type the 
password in a "DOS Command Window" because none "DOS Command Window" has been 
launched!!!

I test several clients:
- ssh2(from www.ssh.com)
- plink
- openSSH

Always the same result... Nothing appends and about the timeout, an error 
message is apparearing explaining the connection was not established, aso...

So the client is launching in a "kind of background task" unaccessible. The 
same test under Linux (debian Woody) confirm this behaviour because it was 
possible to put the ssh client in "backgroung" to foreground using the 
command "fg". So it is cleary a problem specific to Windows.

I've also test the www.jcraft.plugin for using ssh2 protocol (extssh2). this 
plugin works perfectly under 2000 pro and XP pro but not under XP family (at 
this moment).

regards

Yannic
Comment 3 Michael Valenta CLA 2003-04-22 09:31:20 EDT
Here is an entry from the Eclipse CVS FAQ that you may find helpful

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-vcm-
home/docs/online/cvs_features2.0/cvs-faq.html#ssh_1

How do I use SSH to communicate with the server? 

The pserver protocol sends passwords over the network in plaintext. Many people 
prefer to establish a secure connection using SSH. Eclipse supports two methods 
of connecting to CVS repositories using SSH.


To use the Eclipse's built-in SSH support, simply specify "extssh" as the 
connection method type when creating the repository connection.

To use SSH support from an external tool, you must: 

1) Specify "ext" as the connection method type when creating the repository 
connection. 
2) Window->Preferences->Team->CVS->Ext Connection Method. On this page, specify 
the name and location of your external ssh client. (For example, "C:\plink.exe" 
or "/usr/local/bin/ssh"). Also specify the name and location of the CVS binary 
on the server. The default value is often correct. 
3) Ensure that you can log on to the server using the external SSH tool without 
specifying a password. 
Note: In Eclipse 2.1, you can also specify (on the Ext Connection Method 
preference page) the parameters to be passed to the SSH client, including the 
password.
Comment 4 Jean-Michel Lemieux CLA 2004-06-11 16:50:37 EDT
Post 3.0
Comment 5 Michael Valenta CLA 2005-05-09 14:42:23 EDT
There is currently no plan to address this item.
Comment 6 Denis Roy CLA 2009-08-30 02:17:21 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.