{"id":555,"date":"2016-10-12T12:47:22","date_gmt":"2016-10-12T04:47:22","guid":{"rendered":"https:\/\/eligiblestore.com\/blog\/?p=555"},"modified":"2020-06-30T21:28:39","modified_gmt":"2020-06-30T13:28:39","slug":"ssh-over-usb-windows","status":"publish","type":"post","link":"https:\/\/eligiblestore.com\/blog\/2016\/10\/12\/ssh-over-usb-windows\/","title":{"rendered":"SSH over USB (Windows)"},"content":{"rendered":"<p style=\"text-align: justify;\">I use this so I don&#8217;t need to check what is my iPhone IP address every time or disable VPN to connect properly with SSH over network. For Mac it&#8217;s relatively easy follow this link:<br \/>\n<a href=\"http:\/\/iphonedevwiki.net\/index.php\/SSH_Over_USB\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/iphonedevwiki.net\/index.php\/SSH_Over_USB<\/a><\/p>\n<p style=\"text-align: justify;\">For Windows I tried this morning had some issues but finally resolved it and here&#8217;s how I do it.<\/p>\n<p style=\"text-align: justify;\">Prerequisites:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Git &#8211; <a href=\"https:\/\/git-for-windows.github.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/git-for-windows.github.io\/<\/a><\/li>\n<li><del>Python 3 &#8211; <a href=\"https:\/\/www.python.org\/downloads\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.python.org\/downloads\/<\/a><\/del><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Steps:<\/p>\n<ol style=\"text-align: justify;\">\n<li>Install <code>itunnel_mux_rev71.zip<\/code> from <a href=\"https:\/\/code.google.com\/archive\/p\/iphonetunnel-usbmuxconnectbyport\/downloads\" target=\"_blank\" rel=\"noopener noreferrer\">Google Code<\/a><\/li>\n<li>Extract it to a folder, for example I extracted to <code>C:\\usb\\<\/code> and run<br \/>\n<code>c:\\usb\\itunnel_mux.exe --iport 22 --lport 2222<\/code><br \/>\nif it&#8217;s succesfull you will see this message with UDID (I redacted my UDID)<br \/>\n<a href=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/device-connected-UDID.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"556\" data-permalink=\"https:\/\/eligiblestore.com\/blog\/2016\/10\/12\/ssh-over-usb-windows\/device-connected-udid\/\" data-orig-file=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/device-connected-UDID.jpg?fit=568%2C364&amp;ssl=1\" data-orig-size=\"568,364\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;A David L Batu&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1476275646&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"device-connected-udid\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/device-connected-UDID.jpg?fit=568%2C364&amp;ssl=1\" class=\"aligncenter size-full wp-image-556\" src=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/device-connected-UDID.jpg?resize=568%2C364&#038;ssl=1\" alt=\"device-connected-udid\" width=\"568\" height=\"364\" srcset=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/device-connected-UDID.jpg?w=568&amp;ssl=1 568w, https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/device-connected-UDID.jpg?resize=300%2C192&amp;ssl=1 300w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/a><br \/>\nIf you face below error:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">&#x5B;ERROR] Error 0x2 (2): 'No such file or directory'\r\n&#x5B;FATAL] Could not locate 'Apple Mobile Device Support' folder path in registry:\r\nABORTING<\/pre>\n<p>then you need to install <a href=\"https:\/\/my.pcloud.com\/publink\/show?code=XZqVUk7ZXMDHHQLFJ0hpr4ze3WJ0FBeOgHhk\" target=\"_blank\" rel=\"noopener noreferrer\">iTunesDriver64_0205.exe<\/a><\/li>\n<li>Do not close window on Step 2, Open MinGW\/Git bash and type:\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">ssh root@localhost -p 2222<\/pre>\n<p>if it&#8217;s successful you will be prompt for password the first time it will confirm to save RSA.<br \/>\n<a href=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/ssh-root.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"557\" data-permalink=\"https:\/\/eligiblestore.com\/blog\/2016\/10\/12\/ssh-over-usb-windows\/ssh-root\/\" data-orig-file=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/ssh-root.jpg?fit=582%2C321&amp;ssl=1\" data-orig-size=\"582,321\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;A David L Batu&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1476276178&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ssh-root\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/ssh-root.jpg?fit=582%2C321&amp;ssl=1\" class=\"aligncenter size-full wp-image-557\" src=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/ssh-root.jpg?resize=582%2C321&#038;ssl=1\" alt=\"ssh-root\" width=\"582\" height=\"321\" srcset=\"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/ssh-root.jpg?w=582&amp;ssl=1 582w, https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/ssh-root.jpg?resize=300%2C165&amp;ssl=1 300w\" sizes=\"auto, (max-width: 582px) 100vw, 582px\" \/><\/a><\/li>\n<\/ol>\n<p style=\"text-align: justify;\">That&#8217;s it! Congratulations, You have just successfully tunnel your iDevice from USB and now you can SSH securely.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use this so I don&#8217;t need to check what is my iPhone IP address every time or disable VPN to connect properly with SSH over network. For Mac it&#8217;s relatively easy follow this link: http:\/\/iphonedevwiki.net\/index.php\/SSH_Over_USB For Windows I tried this morning had some issues but finally resolved it and here&#8217;s how I do it. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":545,"comment_status":"open","ping_status":"open","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_post_was_ever_published":false},"categories":[9],"tags":[],"class_list":["post-555","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming-database"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8pg5H-8X","jetpack-related-posts":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/eligiblestore.com\/blog\/wp-content\/uploads\/2016\/10\/cydia800x600a.png?fit=800%2C600&ssl=1","_links":{"self":[{"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/posts\/555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/comments?post=555"}],"version-history":[{"count":3,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions"}],"predecessor-version":[{"id":1261,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/posts\/555\/revisions\/1261"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/media\/545"}],"wp:attachment":[{"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/media?parent=555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/categories?post=555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eligiblestore.com\/blog\/wp-json\/wp\/v2\/tags?post=555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}