This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE : 1.0.0 : CVS Checkout via SSH = error : no such repository


I remotly connect to the server via SSH with putty

I tried to connect with an explicit CVSROOT : :ext:Flo@salon:/opt/cvs 

But :
cvs checkout -P CVSROOT (in directory D:\)
cvs checkout: warning: unrecognized response `WARNING - POTENTIAL
SECURITY BREACH!
' from cvs server
cvs checkout: warning: unrecognized response `The server's host key does
not match the one PuTTY has
' from cvs server
cvs checkout: warning: unrecognized response `cached in the registry.
This means that either the
' from cvs server
cvs checkout: warning: unrecognized response `server administrator has
changed the host key, or you
' from cvs server
cvs checkout: warning: unrecognized response `have actually connected to
another computer pretending
' from cvs server
cvs checkout: warning: unrecognized response `to be the server.
' from cvs server
cvs checkout: warning: unrecognized response `The new key fingerprint
is:
' from cvs server
cvs checkout: warning: unrecognized response `1024
49:bd:7a:2c:ab:e0:97:96:ab:be:53:9f:0b:90:8c:c1
' from cvs server
cvs checkout: warning: unrecognized response `If you were expecting this
change and trust the new key,
' from cvs server
cvs checkout: warning: unrecognized response `enter "y" to update
PuTTY's cache and continue connecting.
' from cvs server
cvs checkout: warning: unrecognized response `If you want to carry on
connecting but without updating
' from cvs server
cvs checkout: warning: unrecognized response `the cache, enter "n".
' from cvs server
cvs checkout: warning: unrecognized response `If you want to abandon the
connection completely, press
' from cvs server
cvs checkout: warning: unrecognized response `Return to cancel. Pressing
Return is the ONLY guaranteed
' from cvs server
cvs checkout: warning: unrecognized response `safe choice.
' from cvs server
cvs checkout: warning: unrecognized response `Update cached key? (y/n,
Return cancels connection) Flo@salon's password: 
' from cvs server
cvs checkout: warning: unrecognized response `Flo@salon's password: 
' from cvs server
cvs checkout: warning: unrecognized response `Flo@salon's password: 
' from cvs server
cvs checkout: warning: unrecognized response `Flo@salon's password: 
' from cvs server

When i connected via putty to my server, i succesfully execute ls
/opt/cvs
I tried the -nt option and i got this :
cvs -nt checkout -P CVSROOT


***** CVS exited normally with code 1 *****

  -> Tracelevel set to 1.  PID is 3296
  -> Session ID is ce04028139c0000
  -> main loop with CVSROOT=:ext:sessioncvs:/opt/cvs
  -> Requesting server cvsrc (read-cvsrc2)
cvs [server aborted]: /opt/cvs: no such repository
Not very helpfull :)

I also tried connecting via :ext:  from the same machine that
houses the repository and i get the same error : cvs [server aborted]:
/opt/cvs: no such repository

I expect i have undertood your questions.

Flo

-----Message d'origine-----
De?: Igor Pechtchanski [mailto:pechtcha@cs.nyu.edu] 
Envoyé?: lundi 9 février 2004 22:44
À?: Flo
Cc?: cygwin@cygwin.com
Objet?: Re: 1.0.0 : CVS Checkout via SSH = error : no such repository

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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]