Benjamin Podszun wrote:
> Hi there.
> After spending a lot of time trying to lock down a specific ssh key to a
> filesystem root I guess that there's a problem with tortoiseplink.exe.
> What I expected:
> I wanted to use Tortoise to access a repository on a server of mine,
> limited to a root directory both for security reasons and because I'm
> lazy and didn't want to type /a/full/path/to/a/repo.
> Where I started:
> I had a working putty session that defined
> - the address
> - the username
> - the keyfile
> for a given name. "Trac", in my case. Looking at
> svn+ssh://Trac/home/admin/darklajid/svn/tis/mailroom worked and showed
> me the up-to-now empty folders trunk, tags, branches (the repository is
> shiny and new).
> What failed:
> When I chanced the authorized_keys2 from
> no-agent-forwarding,no-X11-forwarding,command="/usr/bin/svnserve -t
> --tunnel-user=bpodszun" ssh-rsa AAAAB...
> no-agent-forwarding,no-X11-forwarding,command="/usr/bin/svnserve -r
> /home/admin/darklajid/svn/tis -t --tunnel-user=bpodszun" ssh-rsa AAAAB...
> I couldn't browse svn+ssh://Trac/mailroom with the Repo-Browser:
> Error * No repository found in 'svn+ssh://Trac/mailroom'
> What I tried:
> After asking for help in irc://irc.freenode.org/#svn I started cygwin
> and tried lots of combinations with the commandline client.
> Working SVN_SSH wrapper scripts:
> ssh -i keyfile -l username $* <-- Cygwin SSH
> path/to/plink -i keyfile -l username $* <-- Plink
> path/to/plink -load $* <-- PLink w/ session definition
> I couldn't get it to work with tortoise, though. I tried SVN_SSH wrapper
> path/to/tortoiseplink -i keyfile -l username $*
> path/to/tortoiseplink -load $*
> My conclusion:
> Since the repository is accessible from the commandline and from your
> GUI as long as the key is not restricted to a svnserve --root I doubt
> that it's a configuration problem. I can access the repository just fine
> even with that option set (using the wrapper above), so there's no
> problem with my setup of the server, the putty session, the permissions
> I therefor blame the tortoisesvn version of plink and guess I discovered
> a bug?
> The software versions used:
> SVN on the Client:
> TortoiseSVN 1.4.4 Build 9706 - 32 Bit, according to the "Check for
> updates" the latest version right now.
> Please tell me if there's a problem with your version of plink or if I'm
> missing something obvious. I'm currently not subscribed to this list, so
> it would be nice if you could CC me on any answer.
> Thanks for this nice software and in advance for your time and answer,
TortoisePlink is the plain plink, changed slightly so it doesn't show
the command window. Everything else is identical.
So I doubt that it's really TortoisePlink to blame here. Maybe the
version of plink that we used to create TortoisePlink?
The plink version of 1.4.4 is 0.57.
The plink version we have on trunk (in the nightly builds) is 0.59.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Mon Jul 23 20:26:56 2007