svn: Can’t create tunnel: The system cannot find the file specified.
I was trying to checkout a project from a subversion repository using Eclipse’s Subversive, and I was having problems with a subversion url that starts with “svn+ssh://”
This means all the transport has to be done using a “ssh” agent.
Eclipse’s Subclipse plugin was giving me the error:
svn: Can’t create tunnel: The system cannot find the file specified.
To solve the problem I recommend that you…
Use a pure Java SSH Agent
In Eclipse > Window > Preferences > Team > SSH > SVN Interface > SVNKit (Pure Java)
However it seems its possible to…
Use Tortoise as your SSH agent
Go to your Windows Environment Variables settings (Computer -> Advanced Settings -> Environment Variables) and add or set the variable SVN_SSH = c:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe
(the double slashes are very important!)
Then make sure eclipse is using the native (Tortoise Plink’s) ssh agent:
This is set here:
In Eclipse > Window > Preferences > Team > SSH > SVN Interface > JavaHL (JNI)
Once Set and applied, Restart Eclipse, and checkout your project.
Only problem is (at least I found), that when you try to check out, TortoisePlink will prompt its password window, and there’s no way (that I know for now) to specify the user name. I tried putting in the username on the svn+ssh://user@server but when I tried, Eclipse told me that the path already existed. You probably need to delete the repo and create it again in eclipse. But since it already works with a Pure Java SSH agent… fuck it.













June 17th, 2008 at 12:39 am
To get TortoiseLink *not* to prompt you for a password, create a public/private key. Then in your SVN_SSH value, use the -i argument to specify the path to the private key file, like so:
..\\bin\\TorotisePlink.exe -i C:\\id_rsa_svn.ppk
April 21st, 2009 at 6:54 am
Thanks,
I got this error message: The system cannot find the file specified. svn: Can’t create tunnel: The system cannot find the file specified.
And you solved my problem :)
September 3rd, 2009 at 10:09 am
Thanks! the solution for eclipse really helped. Its working fine now
October 29th, 2009 at 10:03 am
your “how to” is bein deeply appreciated;) thx
December 18th, 2009 at 4:49 am
Thanks a lot Ben. It really helped when I was helpless.
It is working fine for me now.
December 31st, 2009 at 4:55 am
Thanks a lot! It was very helpful
February 14th, 2010 at 1:05 am
Awesome! Pulling my hair out, but works beautifully now.
February 22nd, 2010 at 4:52 pm
Thanks very much. Spent nearly half a day getting this work. Your instructions was simple and solved my issue.
May 23rd, 2010 at 12:15 pm
[...] Referência: http://www.gubatron.com/blog/2007/03/15/svn-cant-create-tunnel-the-system-cannot-find-the-file-speci... [...]
July 29th, 2010 at 3:45 am
When I go into my
window> preferences> Team> there is no SSH there,,
is there any other way to change it, probably some configuration file….
November 23rd, 2010 at 9:00 am
Help me out with this error, thanks dude!
Kudos +1