delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/09/16:44:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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, 9 Feb 2004 16:44:02 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Flo <florent DOT lothon AT free DOT fr>
cc: cygwin AT cygwin DOT com
Subject: Re: 1.0.0 : CVS Checkout via SSH = error : no such repository
In-Reply-To: <000a01c3ef4d$4a50b7b0$be00a8c0@florent>
Message-ID: <Pine.GSO.4.56.0402091631490.3765@slinky.cs.nyu.edu>
References: <000a01c3ef4d$4a50b7b0$be00a8c0 AT florent>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

Given your CVSROOT setting, I assume the remote user will be the same as
the local one, but just in case, try setting the user explicitly...

Try running "ssh sessioncvs ls /opt/cvs".  Also, try giving the "-nt"
flags to cvs when attempting a checkout -- this will provide a reasonably
detailed trace of what it's trying to do and what fails.  Basically, all
cvs over ssh does is execute "cvs server"  remotely and communicate to
that process via ssh.  Just to make sure you're running the same cvs
version, could you try connecting via :ext:  from the same machine that
houses the repository?
	Igor

On Mon, 9 Feb 2004, Flo wrote:

> - What CVSROOT value did you use for remote checkouts?
> :ext:sessioncvs:/opt/cvs
>
> - Do you have your CVS_RSH set to ssh?
> Yes
>
> - What command did you use to install the sshd service?
> ssh-host-config
>
> - Is it running as SYSTEM or as another user?
> As SYSTEM i think, i'm not sure of that. By windows when i list
> services, i found for "CYGWIN sshd" service : open the session as "local
> system".
>
> - Can you access /opt/cvs while logged in remotely?
> Yes
>
> - Can you access /opt/cvs via a remote exec (i.e., not logging in, just
>   running a command)?
> What command can i execute ?
> With WinCVS i exec the "cvs" command succesfully :
> cvs
> Usage: cvs [cvs-options] command [command-options-and-arguments]
>   where cvs-options are -q, -n, etc.
> ...
>
>
> -----Message d'origine-----
> De : cygwin-owner<at>cygwin<dot>com De la part de Igor Pechtchanski
> Envoyé : lundi 9 février 2004 20:58
> À : Flo
> Cc : cygwin<at>cygwin<dot>com
> Objet : Re: 1.0.0 : CVS Checkout via SSH = error : no such repository
>
> On Mon, 9 Feb 2004, Flo wrote:
>
> > Hello,
> >
> > Cygwin version : 1.5.7-1
> > On Windows XP Professional Ver 5.1 Build 2600
> >
> > I installed a CVS Server and OpenSSH on Cygwin.
> > I succesfully remotly connect to my server via SSH
> > But when i try to checkout the CVSROOT module remotly i get this message
> > : cvs [server aborted]: /opt/cvs: no such repository
> >
> > I think i made correctly the permission settings like this :
> >
> > 1. Add a Unix group cvs to your system. Any users who need to access the
> > repository should be in this group. For example, here's the relevant
> > line from my machine's /etc/group file:
> > CVS:*:105:kfogel,sussman,jimb,noel,lefty,fitz,craig,anonymous,jrandom
> > 2. Make the repository's group ownership and permissions reflect this
> > new group:
> > floss$ cvs -d /opt/cvs init
> > floss$ cd /opt/cvs
> > floss$ chgrp -R CVS .
> > floss$ chmod ug+rwx . CVSROOT
> >
> > I tried checkout from local successfully :
> >
> > $ cvs -d /opt/cvs/ checkout -P CVSROOT
> > cvs checkout: Updating CVSROOT
> > U CVSROOT/checkoutlist
> > ...
> >
> > I made the same install (CVS and SSH) on another PC and i don't have
> > this problem, i successfuly checkout this module.
> >
> > I expect it's the correct mailing list to report this kind of problem.
> >
> > Flo
>
> It is the correct mailing list.  Thanks also for following the problem
> reporting guidelines and attaching your cygcheck output (which looks ok,
> BTW).  Your report is missing some information, however, e.g.:
>
> - What CVSROOT value did you use for remote checkouts?
> - Do you have your CVS_RSH set to ssh?
> - What command did you use to install the sshd service?
> - Is it running as SYSTEM or as another user?
> - Can you access /opt/cvs while logged in remotely?
> - Can you access /opt/cvs via a remote exec (i.e., not logging in, just
>   running a command)?
>
> There are more possibilities, but these should get you started.
>         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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019