Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 15 Mar 2004 18:23:55 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Calvin Smith cc: cygwin AT cygwin DOT com Subject: Re: cvs repository not found In-Reply-To: <1079390691.c8737f7cexnihilo4@myrealbox.com> Message-ID: References: <1079390691 DOT c8737f7cexnihilo4 AT myrealbox DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 On Mon, 15 Mar 2004, Calvin Smith wrote: > I am not able to get CVS working via ssh. The following illustrates my > problem. > > Logged into the server machine: > > Calvin AT Kilimanjaro ~ > $ cvs -d /cvs checkout foo > cvs checkout: Updating foo > U foo/testing > > -- > Calvin AT Kilimanjaro ~ > $ exit > logout > Connection to kilimanjaro closed. > Calvin AT Calvin ~/Desktop ~ > > -- > And on my local machine: > > Calvin AT Calvin ~/Desktop > $ cvs -d :ext:Calvin AT kilimanjaro:/cvs checkout foo > Calvin AT kilimanjaro's password: > cvs [server aborted]: /cvs: no such repository > Calvin AT Calvin ~/Desktop > $ ssh Calvin AT kilimanjaro "ls -l /cvs" > Calvin AT kilimanjaro's password: > total 0 > drwxrwxr-x+ 3 Administ Users 12288 Mar 12 16:46 CVSROOT > drwxrwxr-x+ 2 Administ Users 0 Mar 15 14:39 foo > > As you can see, I can successfully check out when logged into the > machine, and I can ssh in and do an 'ls', correctly seeing the content > of the cvsroot, and the foo module, but for some reason CVS and SSH > aren't playing well together. > > Any ideas?? > thanks, > calvin Are you running Cygwin's ssh and cvs (i.e., "type -a cvs ssh")? Is your CVS_RSH set correctly? What are the contents of your ~/.cvsrc? What are the contents of ~/.ssh/config? What is the shell of Calvin AT kilimanjaro set to (in /etc/passwd on kilimanjaro)? Next step is to try actually executing "cvs server" via ssh. Run "echo -e 'Root /cvs\nnoop' | cvs server" from kilimanjaro first, and then from Calvin via ssh -- make sure you get the same response from both. If that response is "E Cannot access /cvs/CVSROOT\nerror ...", then see what the "error" line says. If the response is "ok" instead, try playing with the shell for Calvin on kilimanjaro to see what commands are actually sent when executing the "cvs" command on the client... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "I have since come to realize that being between your mentor and his route to the bathroom is a major career booster." -- Patrick Naughton -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/