Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting to CVS server

 
Leslie Chaim
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
Thanks
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Leslie Chaim
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I using :ext. I also tried :extssh and it did not help.
 
Leslie Chaim
Ranch Hand
Posts: 336
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Cheers,
Leslie
[ September 29, 2003: Message edited by: Leslie Chaim ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic