{"id":481,"date":"2007-03-15T09:54:38","date_gmt":"2007-03-15T16:54:38","guid":{"rendered":"http:\/\/www.gubatron.com\/blog\/2007\/03\/15\/svn-cant-create-tunnel-the-system-cannot-find-the-file-specified\/"},"modified":"2007-03-15T09:54:38","modified_gmt":"2007-03-15T16:54:38","slug":"svn-cant-create-tunnel-the-system-cannot-find-the-file-specified","status":"publish","type":"post","link":"https:\/\/www.gubatron.com\/blog\/svn-cant-create-tunnel-the-system-cannot-find-the-file-specified\/","title":{"rendered":"svn: Can&#8217;t create tunnel: The system cannot find the file specified."},"content":{"rendered":"<p>I was trying to checkout a project from a subversion repository using Eclipse&#8217;s Subversive, and I was having problems with a subversion url that starts with &#8220;svn+ssh:\/\/&#8221;<\/p>\n<p>This means all the transport has to be done using a &#8220;ssh&#8221; agent.<\/p>\n<p>Eclipse&#8217;s Subclipse plugin was giving me the error:<br \/>\n<strong>svn: Can&#8217;t create tunnel: The system cannot find the file specified.<\/strong><\/p>\n<p>To solve the problem I recommend that you&#8230;<\/p>\n<p><strong>Use a pure Java SSH Agent<\/strong><\/p>\n<p>In Eclipse > Window > Preferences > Team > SSH > SVN Interface > SVNKit (Pure Java)<\/p>\n<p>However it seems its possible to&#8230;<\/p>\n<p><strong>Use Tortoise as your SSH agent<\/strong><\/p>\n<p>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<\/p>\n<p>(the double slashes are very important!)<\/p>\n<p>Then make sure eclipse is using the native (Tortoise Plink&#8217;s) ssh agent:<\/p>\n<p>This is set here:<br \/>\nIn Eclipse > Window > Preferences > Team > SSH > SVN Interface > JavaHL (JNI)<\/p>\n<p>Once Set and applied, Restart Eclipse, and checkout your project.<\/p>\n<p>Only problem is (at least I found), that when you try to check out, TortoisePlink will prompt its password window, and there&#8217;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&#8230; fuck it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to checkout a project from a subversion repository using Eclipse&#8217;s Subversive, and I was having problems with a subversion url that starts with &#8220;svn+ssh:\/\/&#8221; This means all the transport has to be done using a &#8220;ssh&#8221; agent. Eclipse&#8217;s Subclipse plugin was giving me the error: svn: Can&#8217;t create tunnel: The system cannot [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[15,30],"tags":[],"class_list":["post-481","post","type-post","status-publish","format-standard","hentry","category-code","category-geeklife"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Unzf-7L","jetpack-related-posts":[{"id":542,"url":"https:\/\/www.gubatron.com\/blog\/how-to-update-the-location-of-your-subversion-repo-without-checking-out-again-everything\/","url_meta":{"origin":481,"position":0},"title":"How to update the location of your subversion Repo without checking out again everything","author":"gubatron","date":"July 10, 2007","format":false,"excerpt":"So you checked out code from a place, and whoever runs your subversion server decided to change the URL, or decided to switch from http:\/\/ to https:\/\/ or to svn+ssh:\/\/ ... If you're a noob, you'll probably just checkout everything again. Next time this happens just use svn switch Here's\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":584,"url":"https:\/\/www.gubatron.com\/blog\/svn-gotchas-importing-a-folder-in-one-step\/","url_meta":{"origin":481,"position":1},"title":"svn gotchas: Importing a Folder in one step","author":"gubatron","date":"September 6, 2007","format":false,"excerpt":"Up until this day when my friend Gabe told me how, I didn't know how to import a folder, without doing this first: svn mkdir svn+ssh:\/\/server.com\/path\/to\/repo\/myfolder svn import myFolder svn+ssh:\/\/server.com\/path\/to\/repo\/myfolder If I didn't do that, If I just imported the local \"myFolder\", it would end up adding all the files\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1998,"url":"https:\/\/www.gubatron.com\/blog\/startkeychain-bash-utility-to-start-ssh-agent\/","url_meta":{"origin":481,"position":2},"title":"startKeychain &#8211; bash utility to start ssh-agent","author":"gubatron","date":"June 3, 2010","format":false,"excerpt":"For my (and your) future reference, here's a function to put on your .bashrc or .bash_profile, you can invoke it later at any time to start\/re-start your ssh-agent. [bash] function startKeychain { killall ssh-agent rm ~\/.keychain\/* keychain id_rsa HOSTNAME=`hostname` source ~\/.keychain\/${HOSTNAME}-sh } [\/bash] Then at any time, the \"command\" startKeychain\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":593,"url":"https:\/\/www.gubatron.com\/blog\/ssh-add-l-cannot-connect-to-your-agent\/","url_meta":{"origin":481,"position":3},"title":"ssh-add -l -> Cannot connect to your agent.","author":"gubatron","date":"September 21, 2007","format":false,"excerpt":"keychain not working for ya... you run ssh-agent but ssh-add won't add the keys. This is probably because your SSH_AGENT_PID and SSH_AUTH_SOCK variables are incorrect... so I recommend you put something like this on your .bashrc to initialize your ssh-agent correctly: export SSH_AGENT_PID= export SSH_AUTH_SOCK= #make sure no old agents\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1457,"url":"https:\/\/www.gubatron.com\/blog\/map-commands-to-servers-via-ssh\/","url_meta":{"origin":481,"position":4},"title":"Quick N Dirty way to Map Commands to remote servers via ssh","author":"gubatron","date":"October 10, 2009","format":false,"excerpt":"You may be running several independent but similar servers at the same time and wasting time by executing commands in all of them one by one. Wouldn't it be nice to send a command to all of them at once? or to monitor all of them at once. The following\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2722,"url":"https:\/\/www.gubatron.com\/blog\/add-ssh-identities-to-your-ssh-agent-when-you-start-your-bash-session\/","url_meta":{"origin":481,"position":5},"title":"add ssh identities to your ssh agent when you start your bash session","author":"gubatron","date":"April 28, 2012","format":false,"excerpt":"Put this somewhere on your .bash_profile [bash] function addSSHIdentities() { pushd ~\/.ssh #add all your keys here ssh-add some_private_key ssh-add some_private_key_2 ssh-add some_private_key_3 ... ssh-add some_private_key_N popd } function startSSHAgent() { SSH_AGENT_PROCESSES=`ps aux | grep ssh-agent | grep -v grep | wc -l` if [ $SSH_AGENT_PROCESSES -gt 0 ] then\u2026","rel":"","context":"In \"posix\"","block_context":{"text":"posix","link":"https:\/\/www.gubatron.com\/blog\/tag\/posix\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/comments?post=481"}],"version-history":[{"count":0,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/481\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/media?parent=481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/categories?post=481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/tags?post=481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}