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

svn+ssh problems

From: Kevin Wilson <Kevin.Wilson_at_comtrol.com>
Date: 2006-01-20 17:44:35 CET

I searched the archives but no results were returned for ssh in either the
subject or body search.

[Scenario]

Linux subversion server
windows 2k client
using RSA public key authentication, working well from both putty and linux
clients.

[Setup]
I wrote a custom wrapper script around svnserve that sets the umask,
svnserve options and passes in the user name to assign to --tunnel-user.

public key command line in authorized_keys is like this:

command="/svnreporoot/svnsrvwrapper kevinw" [TYPE KEY COMMENT]

Calling the script from command line works well and verified in PS:

host: ./svnsrvwrapper kevinw

The script executes the following:

exec /usr/bin/svnserve -t -r /svnreporoot --tunnel-user=kevinw

[Problem]
svn+ssh works if I do not have a "command=" preceding the authorized key.
The problem is that I cannot control the umask nor tell the ssh process who
to tunnel as. When attempting to connect via plink Tortoise never succeeds.
 
Anyone else run into this problem? Is there a solution?

Thanks,

Kevin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jan 20 17:44:53 2006

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

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