Re: gCvs: Can SSH authentication be done over the cvsgui pipe?

Guy Rouillier <[email protected]> Fri, 10 Mar 2006 14:29:31 -0500
Newsgroups gmane.comp.version-control.cvs.gui.devel
Message-ID <[email protected]>
Oliver Giesen wrote:
>> I've gotten used to using ssh-agent on Linux to make SSH work. 
>> Tonight, while running from within the Anjuta IDE, I tried to draw
>> a graph without first firing up ssh-agent.  I happened to notice
>> that cvsnt prompted me for an SSH password in the Anjuta-initiated
>>  terminal window. On a lark, I typed in the password and the graph
>> appeared!
>> 
>> So, I'm wondering if we are supposed to be receiving the password 
>> request from cvsnt via the cvsgui pipe, prompting the user for the
>>  password via a GUI popup,
> 
> That's what WinCvs does.
> 

Hmmm, curious.  From Jens reply, it's not cvsnt that is prompting for 
the password, but rather SSH after cvsnt has passed the request on to 
it.  The situation may be a little different in Windows, since SSH is 
not a native protocol there.

> 
>> and caching the password for future use.
> 
> Don't know for sure whether this is included for other platforms than
> Windows but there CVSNT comes with a tool called cvsagent which will
> do just that. There should be no need to implement the caching in the
> frontend.

On platforms with a native SSH implementation, it comes with an 
ssh-agent program (undoubtedly why cvsnt on Windows named the equivalent 
cvsagent.)  I'm curious how the Windows implementation is working.  You 
say that WinCvs pops up a password prompt for SSH.  I'm guessing it 
gives it back to cvsnt, which then fires up cvsagent to remember it.

> 
> While I'm talking about cvsagent: I'm still having focus issues on
> some machines. The cvsagent window often gets openend behind the
> WinCvs window and doesn't have its own Taskbar button so unless you
> press Alt-Tab and see the agent window in the task list you will
> think the CVS process is hung. This happens in 9 out of 10 cases on
> my machine at home but has so far never happened on my work machine
> or in a VMware session. Could this be a graphics driver problem? (In
> any case I guess it's a CVSNT problem rather than a CVSGUI one, isn't
> it?)

If my hypothesis about how all this works is correct, then yes, this 
would be a cvsnt issue.  You should be able to find some discussion of 
cvsagent in the cvsnt site.

-- 
Guy Rouillier


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui-dev/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/