newbie CVSROOT/passwd questions

2005-07-10 Thread Huaer XC
Dear CVS users:

I am a pretty newbie in cvs admin, could someone take a little time to
guide me through the following problems:

1) In file "CVSROOT/passwd", If I define:
 huaer::cvs
where "huaer" is not a system userID. Now I want to communicate
between the repository and sandbox with SSH, what info I should use in
the "-d CVSROOT"? i.e.
  cvs -d :ext:cvs@:/home/CVSROOT co cm
If I use username:"cvs", and its password to access to the repository,
how can I know it is the user "huaer" instead of other people did this
checkout??? I mean when we shall use these info in the
"CVSROOT/passwd"??

2) How to generate the second field? Is there any command or
softwares available under Linux?

3) what's the difference between pserver and SSH on using the file
"CVSROOT/passwd"?

Many thanks..

Huaer


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


SSH authentication key

2005-06-15 Thread Huaer XC
Hi,
I am using a Linux server to maintian a package with CVS, other ppl
can access to the repository by SSH. Now that I can generate
SSH-authentication keys by "ssh-keygen" of Linux, or by some Windows
clients, like WinSSHClient(www.ssh.com). My question is if or not I
can keep more than one key on my server, i.e., every user has his/her
own key, and if so how to configure? Also it seems to me that I can
only use root, say "su", to run ssh-keygen, otherwise, the keys are
something like "?", and "?.pub" Is there anything wrong??

I am very new in this field, please advise me, many thanks..

XC


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


passphrase and WinCVS

2005-06-13 Thread Huaer XC
Dear CVS users:

I just have one question on the passphrase and WinCVS. I am now trying
to use both WinCVS and Linux ssh to access to the CVS server. When I
generate authorized_key with ssh-keygen, shall I setup a passphrase? I
didnt find a place that I can input passphrase within WinCVS(version
1.3.20.3 Beta20 Build 3). Thank you so much for your suggestions.

Huaer,


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs


Question about CVS-SSH

2005-06-10 Thread Huaer XC
Dear CVS users:

I am a newbie in this field. And I am trying to setup CVS on a Linux
Mandrake server, and maintain my codes through SSH by different PCs
including Win-XP and Linux system. (I followed a instruction on the
following link:
http://mariner.cs.ucdavis.edu/slackware/doc/applications/cvs-over-ssh.txt)

Now I did the following things in my server. 
1) I have setup CVSROOT in my account "/home/cvs", and a repository
named "ABC" has been imported.
2) then I generate public key authentication for the cvs account by
ssh-keygen -b 2048 -t dsa
3) copy /root/.ssh/id_dsa.pub into the directory ""/home/cvs/.ssh2"
4) generate ".ssh2/authorization", and put the following two lines
into the file:
key id_dsa.pub
Options command="/usr/bin/cvs server",no-x11-forwarding

At the remote workstation with Debian Linux system,  I did the following:
1) in .cshrc, add the following two lines 
   setenv CVS_RSH ssh
   setenv CVSROOT :ext:[EMAIL PROTECTED]:/home/cvs
2) Copy "id_dsa.pub" from the server and put it in the ".ssh2" directory.
3) echo "idkey id_dsa" > ~/.ssh2/identification

After I re-login to the remote workstation, and run:
cve checkout ABC
It return the following error info: 
cvs [checkout aborted]: Cannot check out files into the repository itself

Please help what I was doing wrong in the above steps, and please give
me more suggestions if possible, many thanks.

Huaer


___
Info-cvs mailing list
Info-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/info-cvs