info-cvs
[Top][All Lists]
Advanced

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

RE: WinCVS with Putty


From: Alex Chen
Subject: RE: WinCVS with Putty
Date: Mon, 3 Nov 2003 22:56:20 -0800

No, that's not it.  I changed the host name to the session name, markhost,
which
has the IP of xxx.xxx.xxx.xxx, so my user name becomes address@hidden and
CVSROOT becomes
  address@hidden:/usr/local/cvsroot

I still get the same error message

cvs checkout: warning: unrecognized response address@hidden's
password: ' from cvs server
repeatedly.

-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Monday, November 03, 2003 7:31 PM
To: Alex Chen; address@hidden
Subject: Re: WinCVS with Putty



On Mon, 3 Nov 2003, Alex Chen wrote:

> 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


I think I know what you did wrong.  You used the name/IP address of
the CVS server for the host name in WinCVS.  However, this is not
correct when using PuTTY.  You must supply the name of the PuTTY
saved session for contacting that host.  It sounds like you already
have one of those configured.  Go into the PuTTY configuration screen,
and look at the list of saved sessions, and pick the one you have
set up for talking to your CVS server.

In my case, our CVS server is hosted on a machine named 'cvs.domain'
However, my WinCVS CVSROOT configuration is setup to use the name
of the PuTTY saved session, which is 'cvs_ssh':

  address@hidden:/usr/local/cvsroot

This is extremely counter intuitive, and I always mess this up.

Good luck, and I hope this solves your problem.

Adam
---
Adam Bernstein   address@hidden   http://mpgedit.org/~number6
Key fingerprint =  E1 91 49 4C 24 18 E2 04  7A D3 78 A8 86 A9 7C 38





reply via email to

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