<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Isshen, LLC: How to do http + ssh with Subversion on Windows</title>
    <link>http://blog.isshen.com/articles/2007/07/27/svn-http-via-ssh-from-xp</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>How to do http + ssh with Subversion on Windows</title>
      <description>Many public hotspots block svn traffic, even those accessed via http. This predicament can lead many (like me) that must develop in a Windows-based environment in an unfortunate place while on the road. &lt;br /&gt;

Accessing subversion shares, need not be a headache, there is a simple solution.&lt;br /&gt;
&lt;br /&gt;
First you should install &lt;a href="tortoisesvn.tigris.org/"&gt; TortoiseSVN &lt;/a&gt; and verify it is working.&lt;br /&gt;
&lt;br /&gt;
Then right click on the desktop (or an explorer window) highlight &#8220;TortoiseSVN&#8221; then click Settings. &lt;br /&gt;
&lt;br /&gt;
Click the &#8220;Network&#8221; tab&lt;br /&gt;
&lt;br /&gt;
Check the &#8220;Enable Proxy Server&#8221; box, and in the &#8220;Server Address:&#8221; field place &#8220;localhost&#8221; and in the &#8220;Port&#8221; field place an unused port greater than 1024 (remember this number!). Click &#8220;Apply&#8221; then &#8220;OK&#8221;&lt;br /&gt;
&lt;br /&gt;
I recommend &lt;a href="http://www.xs4all.nl/~whaa/putty/"&gt;Putty Tray&lt;/a&gt; and their suite, including their improved version of Pagaent, for reasons that will soon become obvious for the next section.&lt;br /&gt;
&lt;br /&gt;
Open Pageant, then open your keyfile in it.&lt;br /&gt;
&lt;br /&gt;
Continuing on, open up Putty, fill in your server address (make sure SSH is filled in). Then go to Connection -&gt; SSH -&gt; Tunnels. Under &#8220;Source Port&#8221; place the same number you filled in earlier, and in destination, place the address of your server and port 80, ie: my.server.net:80, Click Add. Go back too the session tab, save and name your connection (don&#8217;t want too do this every time).&lt;br /&gt;
&lt;br /&gt;
Click Open.&lt;br /&gt;
&lt;br /&gt;
You should then be able too use TortoiseSVN normally, though remember you will &lt;strong&gt;always&lt;/strong&gt; need the SSH connection running too use it, it will not work otherwise (unless you clear the proxy in the settings).
&lt;br /&gt;&lt;br /&gt;
This is why &lt;a href="http://www.xs4all.nl/~whaa/putty/"&gt;Putty Tray&lt;/a&gt; is so great, you can minimize it too the system tray, and have one less window cluttering your developing environment, until you absolutely need too do something on that command line.&lt;br /&gt;
&lt;br /&gt;
As a &#8216;best practice&#8217; rule, I have learned too set the background colour on my tunnel window to something other (and obviously not) black, and not use it for much of anything besides tunnels.&lt;br /&gt;
&lt;br /&gt;
Good Luck!

&lt;h2&gt;References:&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="http://blog.isshen.com/articles/2006/12/16/how-to-do-http-ssh-with-subversion"&gt;How to do HTTP+SSH with Subversion on Linux&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
      <pubDate>Fri, 27 Jul 2007 20:31:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:84168559-3886-4227-8f75-8248c2446d11</guid>
      <author>Adam</author>
      <link>http://blog.isshen.com/articles/2007/07/27/svn-http-via-ssh-from-xp</link>
      <category>Subversion/SVK</category>
      <category>Windows</category>
      <category>tools</category>
      <category>svn</category>
      <category>TortoiseSVN</category>
      <category>putty</category>
    </item>
  </channel>
</rss>
