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.
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
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 🙂
Thanks! the solution for eclipse really helped. Its working fine now
your “how to” is bein deeply appreciated;) thx
Thanks a lot Ben. It really helped when I was helpless.
It is working fine for me now.
Thanks a lot! It was very helpful
Awesome! Pulling my hair out, but works beautifully now.
Thanks very much. Spent nearly half a day getting this work. Your instructions was simple and solved my issue.
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….
Help me out with this error, thanks dude!
Kudos +1
Thank you very much… Your instructions saved my day!
working for me too. Thank you very much !!!!