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

Re: SV: SV: How can I set up access via svn+ssh on Windows?

From: Kevin Williams <kevin_at_bantamtech.com>
Date: 2004-12-28 18:20:51 CET

I've used it in the past. I don't currently due to the way I have Apache
and svnserve configured.

Perhaps try forward slashes or double-backslashes in the paths. Like:

C:\foo>set SVN_SSH="c:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe"

or

C:\foo>set SVN_SSH="c:/Program Files/TortoiseSVN/bin/TortoisePlink.exe"

If you get tired of all this, perhaps try this. Use svnserve in daemon
mode and bind to localhost only. Then tunnel port 3690 from the server's
localhost to your localhost. Then use svn://localhost/whatever. That
network connection will be tunnelled over SSH and encrypted.

Per Lindberg wrote:
>>Från: Kevin Williams [mailto:kevin@bantamtech.com]
>
>
>>set SVN_SSH=C:\plink.exe
>>or
>>set SVN_SSH="C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe"
>>or
>>set SVN_SSH=C:\progra~1\tortoi~1\bin\tortoi~2.exe
>>
>>The environmental variable expects the value to be an
>>executable file,
>>not a path where an ssh client exists. The client expects to pass
>>command-line arguments to the value of SVN_SSH, so a
>>directory won't work.
>
>
> Thanks, but the suggested settings does not work.
> Do they work on your Windows box?
>
> Also, it appears that the environment variable SVN_SSH on Windows
> must point to a (non-spaced) directory path where plink.exe should reside.
> That's the *only* setup that does not result in the usual error message
> (but another error message :-)
>
> I agree that it would make sense if SVN_SSH points to the exe file,
> not just the directory. I'm absolutely flabbergasted!
>
>
> Witness:
>
> ["Det går inte att hitta filen" > "File not found" (presumably plink.exe),
> "Åtkomst nekad" > "Access denied" (whatever that means)]
>
> C:\foo>set SVN_SSH=
>
> C:\foo>svn co svn+ssh://dev.implior.com/var/subversion/frotz/trunk
> svn: Det går inte att hitta filen.
>
> C:\foo>dir/b c:\plink.exe
> plink.exe
>
> C:\foo>set SVN_SSH=c:\
>
> C:\foo>svn co svn+ssh://dev.implior.com/var/subversion/frotz/trunk
> svn: Åtkomst nekad.
>
> C:\foo>set SVN_SSH=c:\plink.exe
>
> C:\foo>svn co svn+ssh://dev.implior.com/var/subversion/frotz/trunk
> svn: Det går inte att hitta filen.
>
> C:\foo>dir/b "c:\Program Files\PuTTY\plink.exe"
> plink.exe
>
> C:\foo>set SVN_SSH="c:\Program Files\PuTTY\"
>
> C:\foo>svn co svn+ssh://dev.implior.com/var/subversion/frotz/trunk
> svn: Det går inte att hitta filen.
>
> C:\foo>dir/b "c:\Program Files\TortoiseSVN\bin\TortoisePlink.exe"
> TortoisePlink.exe
>
> C:\foo>set SVN_SSH="c:\Program Files\TortoiseSVN\bin\TortoisePlink.exe"
>
> C:\foo>svn co svn+ssh://dev.implior.com/var/subversion/frotz/trunk
> svn: Det går inte att hitta filen.
>
> C:\foo>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

----------
Scanned for viruses by ClamAV

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 28 18:23:20 2004

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.