RE: problem with ssh during cvs actions

"Arthur Barrett" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Harry,

> $CVSROOT in this case is:
> 
>    <remote-host>:/usr/local/cvsroot
> so ssh is involved when talking to CVSROOT.
> 
> Something like cvs add file 
> 
> Will first prompt for password but then throws this error:
> 
>    cvs add file
> Password: xxxxxxxx <enter>
> 
> Unknown command: `server'

What version of the client are you using, eg: CVS 1.11.3, what version
of the server?  Also what is the server and client OS?

> There doesn't seem to be any switches for verbosity in man cvs or for
> debug of some kind.

cvs -ttt add file

> How can I determine what the problem is.
> 

To connect from a unix client to a unix server with CVS 1.11.x you would
typically use:
   CVS_SERVER=path-to-cvs-on-remote-host
   CVSROOT=:ext:user@hostname:/path/to/repo

To connect from a windows cvsnt client to a unix server with CVS 2.5.x
you would use (note: please direct questions about CVSNT to the CVSNT
mailing list):
   CVS_SERVER=path-to-cvs-on-remote-host
   CVSROOT=:ssh:user@hostname-or-putty-session-name:/path/or/repo-alias

See also:
http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_2.html#SEC29

Regards,


Arthur
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.