[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using CVS with SSH
From: |
Mark D. Baushke |
Subject: |
Re: using CVS with SSH |
Date: |
Wed, 09 Apr 2003 23:36:54 -0700 |
eafritz <address@hidden> writes:
> Help!
>
> I've gotten this to work once before, and can't figure out why I
> can't do it again... I'm trying to use cvs to get to a repository on
> a server that will only allow ssh connections (no xinetd etc, just
> sshd). I have setup my ssh connection with public/private keys and
> use ssh-agent/ssh-add to prepare. I know this is correct because I
> can run ssh -l user host and connect no problem (does not require any
> passwords etc)
>
> But...
> When I use CVS it just hangs... the security log on the server
> doesn't even show any activity for the ssh server. eventually my cvs
> command comes back with the error:
>
> ###.###.###.###: Connection refused
> cvs [checkout aborted]: end of file from server (consult above
> messages if any)
>
> (where ###.###.###.### is the ip of my cvs server)
>
> my CVSROOT is set to:
>
> :ext:address@hidden:/path/to/repository
>
> and I've verified the settings there about five hundered times.
>
> I've also got CVS_RSH="ssh"
>
> Anybody got any clues??? I just don't understand why ssh would work
> fine but cvs wouldn't :(
The most likely cause is that you have someing in your .profile, .bashrc
or .cshrc file (depnding on your shell) that is generating output. If
you use a command like
ssh -l username ###.###.###.### date
do you get JUST the date output? If you get anything else, it can cause
problems with the interaction to the remote cvs server.
Good luck,
-- Mark