[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
WinCVS with Putty
From: |
Alex Chen |
Subject: |
WinCVS with Putty |
Date: |
Mon, 3 Nov 2003 16:21:11 -0800 |
Hi,
I am using WinCVS 1.3 along with PuTTY for authentication.
I have set up the public/private key pairs with PuTTYgen and
Pageant.
I can login to the system without providing password:
========CVS login message from PuTTY======
login as: achen
Sent username "achen"
Authenticated using RSA key "CVS" from agent
address@hidden achen]$
==========================================
But when I tried to use WinCVS to checkout files, I got the following
errors:
===================WinCVS output =======================================
Python 2.2.3 (#42, May 30 2003, 18:12:08) [MSC 32 bit (Intel)] on win32
CVSROOT: address@hidden:/usr/local/cvsroot (ssh authentication)
TCL is available, shell is enabled : help (select and press enter)
cvs checkout -c (in directory C:\Project\)
cvs checkout: warning: unrecognized response address@hidden's
password:
' from cvs server
cvs checkout: warning: unrecognized response address@hidden's
password:
' from cvs server
cvs checkout: warning: unrecognized response address@hidden's
password:
' from cvs server
***** CVS stopped on user request !!! *****
========================================================================
The setting in WinCVS is as follows:
>From 'Admin->Preference',
In the 'General' pane:
Authentication = ssh, Setting = C:\Program Files\PuTTY\plink.exe, SSH
client box is checked.
Path = /usr/local/cvsroot
Host address = xxx.xxx.xxx.xxx
User name = achen
CVSROOT = address@hidden:/usr/local/cvsroot
In the 'Globals' pane:
'Supply control when adding files', 'Dirty files support', and 'Checkout
text files with the UNIX LF'
are checked.
In the 'CVS' pane:
CVS setup: HOME = C:\Project
In the 'WinCVS' pane:
External diff program = C:\Program Files\WinMerge\WinMerge.exe
Default viewer used to open files = C:\vim\vim61\vi.exe
I am a group of 'cvs', the cvsroot directory is owned by
root(user)/cvs(group)
address@hidden cvsroot]$ id
uid=502(achen) gid=502(achen) groups=502(achen),503(cvs)
The cvs root directory has the following permission:
address@hidden cvsroot]$ pwd
/usr/local/cvsroot
address@hidden cvsroot]$ ls -al
total 16
drwxrwsr-x 6 root cvs 4096 Aug 29 00:34 .
drwxrws--- 3 root cvs 4096 Oct 23 17:08 CVSROOT
drwxrwsr-x 4 root cvs 4096 Oct 24 20:40 RADIUS
drwxrwsr-x 6 root cvs 4096 Oct 24 20:48 struts
drwxrwsr-x 12 root cvs 4096 Nov 1 12:45 www
Is there anything else that needs to be done on the CVS server?
- WinCVS with Putty,
Alex Chen <=