<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>davors.eu &#187; Workshop</title>
	<atom:link href="http://davors.eu/category/workshop/feed/" rel="self" type="application/rss+xml" />
	<link>http://davors.eu</link>
	<description>Internet, advertising, technology, etc...</description>
	<pubDate>Sun, 27 Jul 2008 20:59:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>svn+ssh:// on windows xp</title>
		<link>http://davors.eu/2006/09/svnssh-on-windows-xp/</link>
		<comments>http://davors.eu/2006/09/svnssh-on-windows-xp/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 22:29:25 +0000</pubDate>
		<dc:creator>ruph</dc:creator>
		
		<category><![CDATA[Workshop]]></category>

		<guid isPermaLink="false">http://davors.eu/2006/09/svnssh-on-windows-xp/</guid>
		<description><![CDATA[I had a few problems, when I tried to add my project to open source community called Gna!. It took me some time to figure it out, but in the end I found out it is simple (things normally are when you get a hang of it).  It would be even simpler if the [...]]]></description>
			<content:encoded><![CDATA[<p>I had a few problems, when I tried to add my project to open source community called Gna!. It took me some time to figure it out, but in the end I found out it is simple (things normally are when you get a hang of it).  It would be even simpler if the steps for svn+ssh on windows would be in one place.<br />
<span id="more-7"></span><br />
So here is the solution for the <strong>svn+ssh problem on windows</strong>. <em>In steps</em>. I use it for my project at <a href="https://gna.org">Gna!</a>, but svn+ssh is used on more places.</p>
<p>First you&#8217;ll need something for subversion. This is the <strong>svn</strong> part of the svn+ssh combo. A <a href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> is a great subversion software in windows. I actually use it when I am working in windows. Just download and install it if you don&#8217;t have it already.</p>
<p>For second part of the puzzle, <strong>ssh</strong>, it is best to have <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">Putty</a> installed. I suggest you download and install &#8220;A Windows-style installer&#8221;, because it&#8217;s easier, although you could download just the applications you need.</p>
<p>Now you have the software we need. </p>
<p>Here comes the trickiest part. <strong>You&#8217;ll need to set the environment variable.</strong> In Control Panel->System->Advanced tab click on Environment Variables button. The new window will popup. Click on the lower new button (system variables) and enter<br />
Variable name: SVN_SSH<br />
Variable value: C:\\Program Files\\Putty\\plink.exe<br />
<em>(This path could be different, if you have installed putty somewhere else)</em></p>
<p>If you don&#8217;t need private/public key for your set up, this should be it. svn co svn+ssh//&#8230; should be working now.</p>
<p>If you need to generate <strong>private and public key</strong> for successfully svn+ssh login, you will need to generate private and public key. </p>
<p>Firstly run <em>puttygen.exe</em> from the putty directory. As you can see this is a public and private key generator. It will probably be OK if you leave the default options on (ssh2 rsa). Click on generate, move mouse a little, click on save private key somewhere on disk. Now, copy whole(!) public key to some &#8220;Authorized keys&#8221; form and you&#8217;re set. On gna you have to wait for crontab to put these keys into action. </p>
<p>For <strong>login in svn+ssh with ssh keys</strong> you will have to run the <em>pageant.exe</em> in putty directory. This application hides to tray when you run it, so look in there. You&#8217;ll need to right click on its icon there and then load private key you saved before. You&#8217;ll also need to type in the password you have selected for your key. </p>
<p>When the key is loaded you can <strong>run svn+ssh combo</strong> and if it is needed it will use your private key.</p>
<p>Hope this helps. Have fun with svn+ssh://.</p>
]]></content:encoded>
			<wfw:commentRss>http://davors.eu/2006/09/svnssh-on-windows-xp/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

