wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Connecting to CVS server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Connecting to CVS server" Watch "Connecting to CVS server" New topic

Connecting to CVS server

Leslie Chaim
Ranch Hand

Joined: May 22, 2002
Posts: 336
I just installed Eclipse and I cannot connect to our CVS server. Upon adding a new CVS repository location and validation I get back:
"Unknown response received from cvs server: "
I then realized that I cannot connect from cygwin. I then figured out that I needed to have an entry in the .rhosts file on the server. This worked for cygwin but it does not help for usgin CVS in Eclipse.
I then tried connecting from a DOS window and I cannot connect, I get back:
' from cvs serverning: unrecognized response `ok
I think there's something wrong with cygwin's rsh (which I placed in the windows PATH). When I set the CVS_RSH variable to (also cygwin's) ssh, I get this:
ssh: connect to address xxx.xxx.xxx.xxx port 22: Connection refused
Any ideas?

Normal is in the eye of the beholder
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
What connection type are you using in Eclipse? Eclipse has an ssh implementation if you set the connection type to extssh. Then you shouldn't need to use cygwin's ssh.

Matthew Phillips
Leslie Chaim
Ranch Hand

Joined: May 22, 2002
Posts: 336
I using :ext. I also tried :extssh and it did not help.
Leslie Chaim
Ranch Hand

Joined: May 22, 2002
Posts: 336
I just got it to work
It appears that Eclipse uses it's own inernal CVS_RSH var. I found this seeting in the drop down menu Window->Preferences->Team->CVS->Ext Connection Method
I set it to point to a different rsh program (from cygwin) and it works.
[ September 29, 2003: Message edited by: Leslie Chaim ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Connecting to CVS server
Similar Threads
CVSNT 2.5(.03) + Eclipse 3.5 + Windows 2000, how??????
Connecting to telnet server from ssh server
Problem with SSH/CVS on Eclipse 3.0
How to connect JDeveloper 9i with CVS?
Problem with Cygwin and Windows XP