info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS and remote SSH access


From: Larry Jones
Subject: Re: CVS and remote SSH access
Date: Fri, 5 Oct 2001 11:09:24 -0400 (EDT)

lexie writes:
> 
> its only when i try to use ssh with cvs that it doesn't work. here is what i
> get:
> 
>                     X:\development\projects\test>set
> HOME=X:\development\projects\test
>                     X:\development\projects\test>set CVS_RSH=ssh
>                     X:\development\projects\test>set
> CVSROOT=:ext:address@hidden:/usr/cvsrepos/test
>                     X:\development\projects\test>cvs update
>                     address@hidden's password:
>                     cvs update: authorization failed: server 192.168.1.1
> rejected access to /usr/cvsrepos/test for user suske
>                     cvs update: used empty password; try "cvs login" with a
> real password

When you check out a directory, CVS remembers the CVSROOT you used (in
CVS/Root) and uses it for all further operations in that directory
unless you explicitly override it with -d on the command line (that
makes life much simpler for people who use multiple repositories).  So,
in this case, CVS was using your original CVSROOT that specified pserver
access and ignored the current $CVSROOT that specified ext access. 
Either use -d $CVSROOT on the command line, delete your existing working
directory and do a new checkout, or change the contents of CVS/Root. 
You'll also need to export CVS_RSH if hasn't already been exported.

-Larry Jones

All girls should be shipped to Pluto--that's what I say. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]