<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: Changing Port Number of svn+ssh Subversion Protocol</title>
	<atom:link href="http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/</link>
	<description>About Technology in My Life</description>
	<lastBuildDate>Tue, 24 Jan 2012 17:27:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Aiham</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-59662</link>
		<dc:creator>Aiham</dc:creator>
		<pubDate>Mon, 14 Nov 2011 02:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-59662</guid>
		<description>@Rick

Thanks, I was able to specify the port through the SSH config.</description>
		<content:encoded><![CDATA[<p>@Rick</p>
<p>Thanks, I was able to specify the port through the SSH config.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: polesen</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-54295</link>
		<dc:creator>polesen</dc:creator>
		<pubDate>Fri, 26 Aug 2011 06:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-54295</guid>
		<description>@Leo

Locally/client. In $HOME/.subversion/config</description>
		<content:encoded><![CDATA[<p>@Leo</p>
<p>Locally/client. In $HOME/.subversion/config</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo Benitez</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-54277</link>
		<dc:creator>Leo Benitez</dc:creator>
		<pubDate>Thu, 25 Aug 2011 21:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-54277</guid>
		<description>hi, sorry! I dont understand where is the configuration for tunnels, server or client?? thanks!!!!</description>
		<content:encoded><![CDATA[<p>hi, sorry! I dont understand where is the configuration for tunnels, server or client?? thanks!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jiraiya</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-49845</link>
		<dc:creator>Jiraiya</dc:creator>
		<pubDate>Mon, 09 May 2011 18:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-49845</guid>
		<description>@Rick,
THANKS!
The original fiddle with the subversion tunnel config didn&#039;t work for me.
However, the SSH trick with the config file worked perfectly!
I was using the latest MacOSX 10.6
Kudos to you! It saved me a lot of hassle.</description>
		<content:encoded><![CDATA[<p>@Rick,<br />
THANKS!<br />
The original fiddle with the subversion tunnel config didn&#8217;t work for me.<br />
However, the SSH trick with the config file worked perfectly!<br />
I was using the latest MacOSX 10.6<br />
Kudos to you! It saved me a lot of hassle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-45492</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Sun, 23 Jan 2011 23:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-45492</guid>
		<description>OK. Here’s how I fixed this (on Mac OS X, but fix should work on any client)

This particular issue arises when you are using a non-standard port (let’s say 12001 for sake of example) for your SSH server.

Apparently the SVN client experiences syntax errors when given a port address on a command line like this one:

svn list svn+ssh://username@domainname.com:12001/home/username/svn/myproject

So, to fix this, you need to create a client-side config file for SSH like this:

cd ~
cd .ssh
vi config (create a config file like the one that follows)
:w
:q

Config file located in ~/.ssh/config:

Host domain.com
User username
Port 12001

Then, issue your svn+ssh command WITHOUT the port like this:

svn list svn+ssh://username@domain.com/home/username/svn/myproject

That’s it!

Hope that helps.
Rick</description>
		<content:encoded><![CDATA[<p>OK. Here’s how I fixed this (on Mac OS X, but fix should work on any client)</p>
<p>This particular issue arises when you are using a non-standard port (let’s say 12001 for sake of example) for your SSH server.</p>
<p>Apparently the SVN client experiences syntax errors when given a port address on a command line like this one:</p>
<p>svn list svn+ssh://username@domainname.com:12001/home/username/svn/myproject</p>
<p>So, to fix this, you need to create a client-side config file for SSH like this:</p>
<p>cd ~<br />
cd .ssh<br />
vi config (create a config file like the one that follows)<br />
:w<br />
:q</p>
<p>Config file located in ~/.ssh/config:</p>
<p>Host domain.com<br />
User username<br />
Port 12001</p>
<p>Then, issue your svn+ssh command WITHOUT the port like this:</p>
<p>svn list svn+ssh://username@domain.com/home/username/svn/myproject</p>
<p>That’s it!</p>
<p>Hope that helps.<br />
Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Gray</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-45281</link>
		<dc:creator>Jamie Gray</dc:creator>
		<pubDate>Wed, 19 Jan 2011 22:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-45281</guid>
		<description>Good tip!  Another approach which may be easier is to just embed the port number into the URL, e.g.

svn+ssh://username@server.com:2222/some/directory

I don&#039;t know whether all clients will be able to handle the port number in the URL in this format, but it works for mine. Putting the port number in the URL looks easier in general, but what I like about your approach is that it lets you change that port configuration in a central place, without having to touch any checked-out repositories.  I can see this being handy if you&#039;re in a situation where you have to mess around with your port tunneling situation frequently.</description>
		<content:encoded><![CDATA[<p>Good tip!  Another approach which may be easier is to just embed the port number into the URL, e.g.</p>
<p>svn+ssh://username@server.com:2222/some/directory</p>
<p>I don&#8217;t know whether all clients will be able to handle the port number in the URL in this format, but it works for mine. Putting the port number in the URL looks easier in general, but what I like about your approach is that it lets you change that port configuration in a central place, without having to touch any checked-out repositories.  I can see this being handy if you&#8217;re in a situation where you have to mess around with your port tunneling situation frequently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: polesen</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-43500</link>
		<dc:creator>polesen</dc:creator>
		<pubDate>Thu, 16 Dec 2010 08:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-43500</guid>
		<description>On the client</description>
		<content:encoded><![CDATA[<p>On the client</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reginald</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-43483</link>
		<dc:creator>Reginald</dc:creator>
		<pubDate>Thu, 16 Dec 2010 04:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-43483</guid>
		<description>So wheee do I put the configuration file? On the server or on the client?</description>
		<content:encoded><![CDATA[<p>So wheee do I put the configuration file? On the server or on the client?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: polesen</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-41955</link>
		<dc:creator>polesen</dc:creator>
		<pubDate>Thu, 21 Oct 2010 11:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-41955</guid>
		<description>I am not sure about that. Haven&#039;t done it with https. 

Are you sure about -R. Shouldn&#039;t that be -L ? If I understand you correctly, you have svn server at remote-server.com running on port 443, and want to check out from it locally on 7711? If that is so, I believe it should read &quot;-L&quot;.</description>
		<content:encoded><![CDATA[<p>I am not sure about that. Haven&#8217;t done it with https. </p>
<p>Are you sure about -R. Shouldn&#8217;t that be -L ? If I understand you correctly, you have svn server at remote-server.com running on port 443, and want to check out from it locally on 7711? If that is so, I believe it should read &#8220;-L&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yasen</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-41930</link>
		<dc:creator>Yasen</dc:creator>
		<pubDate>Wed, 20 Oct 2010 10:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-41930</guid>
		<description>How about if I am using https to connect to the SVN repository?

I am trying something like that 
// create remote port forwarding
ssh -R 7711:localhost:443 root@remote-server.com -p 222

// checkout from our server to the remote server
svn checkout https://localhost:7711/svn/trunk /home/code

But i get svn: Propfind of &#039;/svn/trunk&#039;: 405 Method not allowed (http://localhost:7711)</description>
		<content:encoded><![CDATA[<p>How about if I am using https to connect to the SVN repository?</p>
<p>I am trying something like that<br />
// create remote port forwarding<br />
ssh -R 7711:localhost:443 <a href="mailto:root@remote-server.com">root@remote-server.com</a> -p 222</p>
<p>// checkout from our server to the remote server<br />
svn checkout <a href="https://localhost:7711/svn/trunk" rel="nofollow">https://localhost:7711/svn/trunk</a> /home/code</p>
<p>But i get svn: Propfind of &#8216;/svn/trunk&#8217;: 405 Method not allowed (<a href="http://localhost:7711" rel="nofollow">http://localhost:7711</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MoxFulder</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-39784</link>
		<dc:creator>MoxFulder</dc:creator>
		<pubDate>Mon, 14 Jun 2010 11:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-39784</guid>
		<description>Thanks, that&#039;s what the answer I was looking for.</description>
		<content:encoded><![CDATA[<p>Thanks, that&#8217;s what the answer I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leonardo</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-37440</link>
		<dc:creator>Leonardo</dc:creator>
		<pubDate>Fri, 26 Feb 2010 19:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-37440</guid>
		<description>Thanks!
It fixed my &quot;svn: Network connection closed unexpectedly&quot;.</description>
		<content:encoded><![CDATA[<p>Thanks!<br />
It fixed my &#8220;svn: Network connection closed unexpectedly&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fahmi</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-37171</link>
		<dc:creator>Fahmi</dc:creator>
		<pubDate>Wed, 17 Feb 2010 07:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-37171</guid>
		<description>Thanks! this is helpful :)</description>
		<content:encoded><![CDATA[<p>Thanks! this is helpful <img src='http://www.techper.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aftab Naveed</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-35877</link>
		<dc:creator>Aftab Naveed</dc:creator>
		<pubDate>Wed, 23 Dec 2009 22:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-35877</guid>
		<description>Great post :-) I tried that with my hostgator account and it worked.</description>
		<content:encoded><![CDATA[<p>Great post <img src='http://www.techper.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  I tried that with my hostgator account and it worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaroslav K.</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-34979</link>
		<dc:creator>Jaroslav K.</dc:creator>
		<pubDate>Sat, 28 Nov 2009 22:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-34979</guid>
		<description>Great! Works like a charm.
Thank you for suggestion!</description>
		<content:encoded><![CDATA[<p>Great! Works like a charm.<br />
Thank you for suggestion!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ryan</title>
		<link>http://www.techper.net/2009/01/11/changing-port-number-of-svnssh-subversion-protocol/comment-page-1/#comment-8743</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Fri, 23 Jan 2009 01:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.techper.net/?p=174#comment-8743</guid>
		<description>agreed... svn++</description>
		<content:encoded><![CDATA[<p>agreed&#8230; svn++</p>
]]></content:encoded>
	</item>
</channel>
</rss>

