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

Re: Repo-browser "Can't create tunnel: %1 is not a valid Win32 application."

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 12 Aug 2008 19:24:09 +0200

Leprechaun wrote:
> I'm trying to get SVN+SSH working with TortoiseSVN, and it's not
> working. I'm hoping someone on this list can tell me where I went
> wrong.
>
> If I open the repository browser and type in any valid "svn+ssh" URL,
> I get the following error: "Can't create tunnel: %1 is not a valid
> Win32 application." The URL does not need to actually point to a valid
> svn repository, it only needs to parse correctly.
>
> I'm running Windows XP SP3 and TortoiseSVN 1.5.2, Build 13651. I've
> also tried uninstalling/reinstalling with TortoiseSVN 1.5.2, Build
> 13595 and 1.4.8, Build 12137. All of these versions yield the same
> error.
>
> I have the $SVN_SSH environment variable set; the following was copied
> from a command prompt:
> C:\>echo %SVN_SSH%
> "E:\Program Files\TortoiseSVN\bin\TortoisePlink.exe"

That won't work: the env variables set that way are only valid in your
command prompt window. If you really want to use the env variable, set
it properly in your system dialog.

> Entering "%SVN_SSH%" alone (running the command) correctly executes
> TortoisePlink.exe; I am presented with the options popup.
>
> I have the following line in the "tunnels" section of my "Application
> Data\Subversion\config" file:
> ssh = "E:\\Program\ Files\\TortoiseSVN\\bin\\TortoisePlink.exe" -i E:/
> puttygen-keys/private.ppk

try
ssh = "E:\Program Files\TortoiseSVN\bin\TortoisePlink" -i
E:/puttygen-keys/private.ppk

> I have a saved PuTTY session called "TEST" that correctly logs in to
> the remote server with no user interaction (it uses E:/puttygen-keys/
> private.ppk).
>
> The best lead I have is that I have the following in my registry:
> [HKEY_CLASSES_ROOT\svn\shell\open\command]
> @="E:\\Program Files\\TortoiseSVN\\bin\\TortoiseProc.exe /
> command:repobrowser /path:\"%1\""

That's the handler for svn:// urls (if you click on such urls, the repo
browser is opened).

Also check the subversion docs:
http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshauth

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-08-12 19:24:34 CEST

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.