<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>svn with custom port and public key authentication &#8211; Arun&#8217;s blog</title>
	<atom:link href="https://arunns.net/tag/svn-with-custom-port-and-public-key-authentication/feed/" rel="self" type="application/rss+xml" />
	<link>https://arunns.net</link>
	<description>Arun&#039;s blog</description>
	<lastBuildDate>Sun, 22 Oct 2023 18:16:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.2</generator>
	<item>
		<title>Streamlining SVN over SSH with Custom Port and Public Key Authentication</title>
		<link>https://arunns.net/svnssh-with-custom-port-number-and-public-key-authentication/</link>
					<comments>https://arunns.net/svnssh-with-custom-port-number-and-public-key-authentication/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Tue, 19 Jan 2010 20:34:57 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[svn with custom port and public key authentication]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=195</guid>

					<description><![CDATA[Subversion (SVN) is a tried-and-true version control system that has powered countless software development projects. When using SVN with SSH for secure access, customizing your configuration can simplify your workflow and improve security. In this guide, we&#8217;ll explore how to set up SVN over SSH with a custom port number and public key authentication, making [&#8230;]]]></description>
										<content:encoded><![CDATA[<div class="flex-col gap-1 md:gap-3">
<div class="flex flex-grow flex-col gap-3 max-w-full">
<div class="min-h-[20px] flex flex-col items-start gap-3 whitespace-pre-wrap break-words overflow-x-auto">
<div class="markdown prose w-full break-words dark:prose-invert light">
Subversion (SVN) is a tried-and-true version control system that has powered countless software development projects. When using SVN with SSH for secure access, customizing your configuration can simplify your workflow and improve security. In this guide, we&#8217;ll explore how to set up SVN over SSH with a custom port number and public key authentication, making your version control process more efficient.</p>
<p><strong>Step 1: Editing the SVN Configuration File</strong></p>
<p>Begin by editing the SVN configuration file, which is usually found at <code>~/.subversion/config</code>. If the file doesn&#8217;t exist, you can create it. This configuration file is your key to tailoring SVN to your specific needs.</p>
<p><strong>Step 2: Configuring SSH with Custom Details</strong></p>
<p>To customize SSH for SVN, you&#8217;ll need to define SSH configuration details under the <code>[tunnels]</code> section in your configuration file. This section tells SVN how to use SSH for tunneling. Here&#8217;s an example:</p>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">plaintext</div>
</div>
</div>
</div>
</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">[tunnels]<br />
foobar = /usr/bin/ssh -i /home/&lt;user&gt;/.ssh/&lt;private_key&gt; -p &lt;port&gt;<br />
</code></div>
</div>
<p><strong>Step 3: Utilizing Your Custom Configuration</strong></p>
<p>Now that you&#8217;ve set up your custom SSH configuration, you can use it to connect to your SVN repositories. The command format to access a repository with your custom SSH configuration is as follows:</p>
<div class="bg-black rounded-md mb-4">
<div class="flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md">plaintext</div>
</div>
<div class="bg-black rounded-md mb-4">
<div class="p-4 overflow-y-auto"><code class="!whitespace-pre hljs language-plaintext">svn co svn+foobar://&lt;user&gt;@&lt;domain.name&gt;/path/to/repository<br />
</code></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/svnssh-with-custom-port-number-and-public-key-authentication/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
