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

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

From: Per Lindberg <per_at_implior.com>
Date: 2004-12-28 16:30:41 CET

> 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
Received on Tue Dec 28 16:33:07 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.