You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Alan McDonald <al...@meta.com.au> on 2006/02/01 12:55:05 UTC

TSVN, SVN and SSH

I've searched all over for this issue and see several people withthe same
problem. I see several answers or attempts at answers but none of them work
for me....
WinXP Clients to Win2003 Server running SVN. I have TSVN working very nicely
over SSH using a proxy switcher care of Ayende's instructions. It also uses
the setup where the server deamon is started with a preset repo root. Users
use the url
svn+ssh://username@domain.com/repo
they are prompted for username's password and all is fine.

Now I want to run svn in batch mode as well. No matter what I do I get the
svn: Can't create tunnel: The system cannot find the file specified.
message.
I've tried setting the SVN_SSH env variable although there are several
different ones people seem to use. I know it's something to do with the
client not finding the SSH tunnel, of course, but no matter what paths I set
to what executables, the tunnel can't be created. There must be a fairly
defnitive answer to this one somewhere-- hopefully? I can't beleive it's so
difficult when TSVN can open the tunnel no problems.

 regards
 Alan McDonald



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: TSVN, SVN and SSH

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
On 2/1/2006 7:55 AM, Alan McDonald wrote:
> I've searched all over for this issue and see several people withthe same
> problem. I see several answers or attempts at answers but none of them work
> for me....
> WinXP Clients to Win2003 Server running SVN. I have TSVN working very nicely
> over SSH using a proxy switcher care of Ayende's instructions. It also uses
> the setup where the server deamon is started with a preset repo root. Users
> use the url
> svn+ssh://username@domain.com/repo
> they are prompted for username's password and all is fine.
> 
> Now I want to run svn in batch mode as well. No matter what I do I get the
> svn: Can't create tunnel: The system cannot find the file specified.
> message.
> I've tried setting the SVN_SSH env variable although there are several
> different ones people seem to use. I know it's something to do with the
> client not finding the SSH tunnel, of course, but no matter what paths I set
> to what executables, the tunnel can't be created. There must be a fairly
> defnitive answer to this one somewhere-- hopefully? I can't beleive it's so
> difficult when TSVN can open the tunnel no problems.

TSVN uses its own method of specifying the tunneling software, usually 
plink.

You don't say what shell you're running.  I use Cygwin's bash shell, and 
have svn in the PATH, but I don't use SVN_SSH.  I have ssh in my path in 
/usr/bin/ssh (which is Cygwin's way of saying f:/cygwin/bin).

I'd guess the problem you're having is that you're specifying the path 
in SVN_SSH using backslashes.  You need to use forward slashes or double 
the backslashes.  E.g. for me in a Windows command shell, this works:

set SVN_SSH=f:/cygwin/bin/ssh.exe

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org