[cvsnt] Re: Cvsroot on network share

Oliver Giesen ogware at gmx.net
Thu Sep 22 00:04:35 BST 2005


McCullough, Ryan wrote:

> Here is the output when trying to use the :ext: method:
> 
> C:\Prototypes>"c:\Program Files\CVSNT\cvs.exe" -d
> ":ext:<user>@<server>:/nfs/src/cvsroot" co dotnet
> ' from cvs server warning: unrecognized response `'ssh' is not
> recognized as an internal or external command,
> ' from cvs server warning: unrecognized response `operable program or
> batch file.
> cvs.exe [checkout aborted]: end of file from server (consult above
> messages if any)

:ext: means "connect and authenticate using an external third-party
tunneling client". By default the :ext: protocol handler attempts to
invoke a tunneling client named "ssh". If there is no such executable
on your system's PATH then you will get the above message. If you do
have a tunneling client but it is not called "ssh" or is not located on
your PATH you would have to tell CVS where it is and what it is called.
There are various valid methods for doing so, e.g. setting the CVS_RSH
environment variable.

Besides :local: and :ext: there are also several other protocols
available however which you might want to use instead of :ext: as that
could require quite a bit of extraneous setup. For instance the
:ssh:-protocol essentially uses the same authentication mechanism as
:ext: (i.e. SSH) but it does not require an external tunneling client.
Instead it already has one built-in. Given that :ext: is already
working in Tortoise there's a chance you just might get lucky trying
the following:

  :ssh:<user>@<server>:/nfs/src/cvsroot

 
> This works in tortoisecvs:
> In C:\CastlePrototypes: "C:\Program Files\TortoiseCVS\cvs.exe" "-q"
> "checkout" "-P" "dotnet"
> CVSROOT=:ext:<user>@<server>:/nfs/src/cvsroot

Tortoise comes bundled with its own SSH tunneling client called
tortoiseplink.exe or something like that. It also obviously takes over
the part of telling CVSNT about the location of that tool.

The bottom line of all this however is that you do already have a
proper server installed on your server machine and there is no need to
access the repository in :local: mode via a network share at all.

If you CD into the sandbox you checked out with Tortoise and ran the
following command:

  cvs ver

it would tell you exactly what kind and version of CVS server you're
running. That bit of information would be tremendeously useful for us
in giving further advice.

Hope this helps.

-- 
Oliver
----  ------------------
JID:  ogiesen at jabber.org
ICQ:  18777742     (http://wwp.icq.com/18777742)



More information about the cvsnt mailing list