[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using CVS with SSH
From: |
Ronald Petty |
Subject: |
Re: using CVS with SSH |
Date: |
10 Apr 2003 11:28:33 -0500 |
I don't have pserver running, but couldn't you also check the server buy
telnet server 2401 ?
And see if you get a response?
Ron
On Thu, 2003-04-10 at 01:36, Mark D. Baushke wrote:
> 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
>
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
>