You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Konrad Rosenbaum <ko...@silmor.de> on 2005/12/04 12:06:42 UTC

Re: Why Subversion is asking me to authenticate 3 times ?

On Tuesday 29 November 2005 22:25, Xavier MOGHRABI wrote:
> Can you please tell me more on how to configure ssh-agent with Subversion
> + SSH ?

First, put a line like this into your .xinitrc (or whatever you use on 
login):
ssh-agent $MYWINDOWMANAGER

with $MYWINDOWMANAGER being the WM start command that was in there anyway, 
if you are using KDE you could also change startkde's last line from "exec 
kwm" to "exec ssh-agent kwm"; Gnome should be similiar; if you are using 
SuSE Linux it is already in there; if you are using Windows: tough luck

Actually what this does is: the SSH agent starts, creates a local (private) 
socket on which SSH can query for passphrases/keys, and then starts the 
process it got as parameter with the environment variables SSH_AGENT_PID 
and SSH_AUTH_SOCK set - usually if you use the window manager as that 
process all other processes inside your X session will be derived from it 
(including svn and ssh which requires those variables to use the agent);

The agent quits automagically when the command quits that it started.


Second, register your secret key with the agent:
ssh-add [.ssh/$mysecretkeyfile]

Third, use svn as you used to.


	Konrad

Re: Why Subversion is asking me to authenticate 3 times ?

Posted by Eric Hanchrow <of...@blarg.net>.
http://subversion.tigris.org/faq.html#ssh-auth-cache
-- 
"New York Minute" is a textbook example of a film created as
a "vehicle" but without any ideas about where the vehicle should
go.
        -- Roger Ebert


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org