LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 02-17-2005, 02:07 PM   #1
trican
Member
 
Registered: Oct 2004
Posts: 32

Rep: Reputation: 15
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??????
 
Old 02-17-2005, 05:58 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Have you set the CVS_RSH environment variable to ssh?
eg.
Code:
export CVS_RSH=ssh
What is the contents of your -d line or CVSROOT environment variable?
 
Old 02-18-2005, 02:18 AM   #3
trican
Member
 
Registered: Oct 2004
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 02-18-2005, 03:56 PM   #4
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
Hmm..

and the ssh connection to that host works correctly?
eg. line
Code:
ssh USER@IP_ADDR ls /usr/local/repos
works.
 
Old 02-18-2005, 06:23 PM   #5
trican
Member
 
Registered: Oct 2004
Posts: 32

Original Poster
Rep: Reputation: 15
oddly enough it does
 
Old 02-22-2005, 12:08 PM   #6
trican
Member
 
Registered: Oct 2004
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 02-22-2005, 03:13 PM   #7
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47

Funny I didn't notice that typo when you pasted contents from your bashrc..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CVS + SSH connection problem Serbulent Linux - Software 2 02-15-2005 08:01 AM
CVS: Connection reset by peer brecki Linux - Software 1 01-23-2004 10:18 PM
Gnome CVS : Connection refused AxeZ Linux - General 0 09-14-2003 05:05 PM
Connection refused to CVS tawsie Linux - Newbie 4 07-18-2003 11:16 AM
cvs server connection refused mindcry Linux - Software 0 07-14-2003 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration