[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn+ssh client auth: how to get svnserve in path?

From: Duncan Murdoch <subversion_at_murdoch-sutherland.com>
Date: 2005-04-02 17:06:50 CEST

On Fri, 01 Apr 2005 15:47:05 -0800, Eric Hanchrow <offby1@blarg.net>
wrote :

>For everybody tracking this thread: I've updated the FAQ to answer
>this question: http://subversion.tigris.org/faq.html#ssh-svnserve-location

This is a nice description, but it's missing one detail. It ends with

"Now whenever they use that new key for anything, ssh on the remote
machine will invoke svnserve, even if they try to run some other
command."

but it doesn't explain how to tell ssh to use that key. This is
important, because many such users will sometimes want other kinds of
login to the same account.

I'm no ssh expert, but I think what you have to do is to put this
special svnserve key in its own file, and invoke ssh with the -i
option to use that file.

Here's a first draft at an additional paragraph to add to the FAQ:

"If the user needs access to this machine for other purposes as well,
then put the modified key in a separate file (e.g. .ssh/svn_keys) and
set the environment variable SVN_SSH to

 SVN_SSH=ssh -i .ssh/svn_keys

so that this key file is used by Subversion."

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Apr 2 17:09:29 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.