Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-17-2005, 02:07 PM
|
#1
|
Member
Registered: Oct 2004
Posts: 32
Rep:
|
CVS connection problem
Hi,
I setup a cvs server sometime ago - everything works great. A number of linux and wondows are connecting to it via ssh. However over the last few days I reinstalled redhat 9 onmy desktop and despite the fact i can ssh to the server which has the cvs repository - i can 't checkout a module. I get the following error:
<ip_addr>: Connection refused
cvs [checkout aborted]: end of file from server (consult above messages if any)
I'm totally stumped :-(
Anyone have ANY idea whats happening??????
|
|
|
02-17-2005, 05:58 PM
|
#2
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|
Have you set the CVS_RSH environment variable to ssh?
eg. What is the contents of your -d line or CVSROOT environment variable?
|
|
|
02-18-2005, 02:18 AM
|
#3
|
Member
Registered: Oct 2004
Posts: 32
Original Poster
Rep:
|
This is from my bashrc file
#CVS Information
export SSH_RSH=ssh
export CVSROOT=:ext:USER@IP_ADDR:/usr/local/repos
I really dont think there's any problem with it? On a windows machine I'm using the exact same CVSROOT and have no problem
|
|
|
02-18-2005, 03:56 PM
|
#4
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|
Hmm..
and the ssh connection to that host works correctly?
eg. line
Code:
ssh USER@IP_ADDR ls /usr/local/repos
works.
|
|
|
02-18-2005, 06:23 PM
|
#5
|
Member
Registered: Oct 2004
Posts: 32
Original Poster
Rep:
|
oddly enough it does
|
|
|
02-22-2005, 12:08 PM
|
#6
|
Member
Registered: Oct 2004
Posts: 32
Original Poster
Rep:
|
aha just found the problem:
typo instead of having CVS_RSH=ssh I had SSH_RSH=ssh - doh! works now
Btw I found the -t flag with cvs very useful for debugging the connection
|
|
|
02-22-2005, 03:13 PM
|
#7
|
Senior Member
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357
Rep:
|

Funny I didn't notice that typo when you pasted contents from your bashrc..
|
|
|
All times are GMT -5. The time now is 03:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|