info-cvs
[Top][All Lists]
Advanced

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

Re: can't add with wincvs


From: Eric Siegerman
Subject: Re: can't add with wincvs
Date: Mon, 4 Nov 2002 12:05:57 -0500
User-agent: Mutt/1.2.5i

On Sun, Nov 03, 2002 at 08:38:57AM -0600, Steve Buehler wrote:
> I get the following error when trying to click on the "Add 
> Selected" button in wincvs.
> (The address@hidden is not what I have entered.  I changed it here for 
> security reasons).
> ---------------snip---------------------
> cvs add testz.php (in directory C:\ijobs\cvs\)
> cvs add: warning: unrecognized response `Password:
> ' from cvs server
> [and more similar]
> ---------------snip---------------------
> 
> In the WinCVS preferences, I have:
> General
>          Enter the CVSROOT
>                  address@hidden:/usr/local/cvsroot
> Authentication
>          SSH Server
> Ports
>          Check for an alternate rsh name (checked)
>                  c:\putty\plink.exe
> 
> I know they can login to the server with SSH manually.  Actually, I am 
> testing it with my account.

I've only had fair-to-middling success getting WinCVS and SSH to
get along.  But for what it's worth...

When you log in manually with SSH, is it asking you for a
password?  I suspect it is.  The error message looks like SSH's
password prompt.  I'd guess that the ssh client is prompting for
a password, but WinCVS doesn't know how to supply it.

Try generating an SSH key pair, and using ssh-agent (or the local
equivalent) to get things into a state where you can ssh into the
server without typing a password.  Then try WinCVS again.

Obviously, doing that opens up a security hole -- anyone can walk
up to the your Windows box and ssh into the server.  I suspect,
though, that unlike with "cvs login" under pserver, the hole will
close on its own when you log out of Windows, because the
ssh-agent will terminate at that point.  But that's just a guess,
so please *DON'T* take my word for it; test it for yourself!

Depending on your circumstances, that (or working around it by
putting a password on the Windows screen saver) may or may not be
acceptable.

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Just Say No to the "faceless cannonfodder" stereotype.
        - http://www.ainurin.net/ (an Orc site)




reply via email to

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