info-cvs
[Top][All Lists]
Advanced

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

Re: looking for an in-depth generic howto on cvs over ssh


From: Todd Denniston
Subject: Re: looking for an in-depth generic howto on cvs over ssh
Date: Mon, 14 Nov 2005 09:07:39 -0500

address@hidden wrote:
> 
> The puzzle I'm left with though is why why why could an ssh session to
> the server checkout but a local session could not.
> 
because when you ssh'ed over you were authenticating against the system
passwords and accessing
$CVSROOT=/usr/local/cvsroot
and when you were "local" you were accessing
$CVSROOT=:pserver:address@hidden:/usr/local/cvsroot
which means you were using what ever passwords pserver found for you.

ssh uses your machine authentication, and in your previous email you hinted
you set data in CVSROOT/passwd which overrides the system passwords for
pserver.

BTW, I find that if I (or my workers) are ever going to access the
repository from a remote machine, it is very good practice to always (even
when on the machine where the repository's physical disk is) to use the
remote access method (:ext:, or for the unparanoid :pserver:). By always
using the remote method if you happen to be on a remote machine and
accessing the working sandbox directory over NFS, you will not make the
mistake of letting cvs try to use local access (CVS uses what ever method
was used to do the checkout to do all access for that sandbox).

Personally, even for repo's I will always be at the physical disk machine
for and the only one accessing, I still checkout my sandboxes with a remote
access method, so I never get bit.

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter




reply via email to

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