<?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>byteco.de &#187; osx</title>
	<atom:link href="http://byteco.de/category/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://byteco.de</link>
	<description>In a world of 1s and 0s...are you a zero, or The One?</description>
	<lastBuildDate>Sat, 19 May 2012 12:24:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Converting Mailman/Pipermail text archive to mbox</title>
		<link>http://byteco.de/2010/01/14/converting-mailmanpipermail-text-archive-to-mbox/</link>
		<comments>http://byteco.de/2010/01/14/converting-mailmanpipermail-text-archive-to-mbox/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 04:40:12 +0000</pubDate>
		<dc:creator>shiv</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[mailman]]></category>
		<category><![CDATA[mbox]]></category>

		<guid isPermaLink="false">http://byteco.de/?p=855</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p id="text_0">I wanted to import mailing list archive in my Apple Mail.app which support &#8220;Files in mbox format&#8221;. Found following python script by <a href="http://lists2.ssc.com/pipermail/linux-list/2006-February/026220.html">Paul</a> which converts text archive to mbox.</p>
<p><span id="more-855"></span></p>
<pre class="brush: python">
#!/usr/bin/env python
&quot;&quot;&quot;
to-mbox.py:  Insert line feeds to create mbox format

Usage:   ./to-mbox.py  infile outfile
&quot;&quot;&quot;
import sys

if len(sys.argv) != 3:
    print __doc__
    sys.exit()

out = open(sys.argv[2],&quot;w&quot;)

start = True
for line in open(sys.argv[1]):
    if line.find(&quot;From &quot;) == 0:
        if start:
            start = False
        else:
            out.write(&quot;\n&quot;)
        line = line.replace(&quot; at &quot;, &quot;@&quot;)
    out.write(line)

out.close()
</pre>
]]></content:encoded>
			<wfw:commentRss>http://byteco.de/2010/01/14/converting-mailmanpipermail-text-archive-to-mbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speed Up SSH Connections</title>
		<link>http://byteco.de/2009/12/09/speed-up-ssh-connections/</link>
		<comments>http://byteco.de/2009/12/09/speed-up-ssh-connections/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 12:40:46 +0000</pubDate>
		<dc:creator>shiv</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[controlmaster]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://byteco.de/2009/12/09/speed-up-ssh-connections/</guid>
		<description><![CDATA[If you are working with a remote server using SSH, which requires frequent connections you might have noticed how it takes a lot of time to establish a connection. You also have to enter password every time you connect. You can speed up this processes by configuring ssh to reuse connection to the same server [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both">If you are working with a remote server using SSH, which requires frequent connections you might have noticed how it takes a lot of time to establish a connection. You also have to enter password every time you connect.</p>
<p style="clear: both">You can speed up this processes by configuring ssh to reuse connection to the same server if its has a connection already established. </p>
<p style="clear: both">This is a feature of OpenSSH, which I have tested on Snow Leopard and Ubuntu. </p>
<p style="clear: both">As per manual,</p>
<blockquote style="clear: both"><p>ControlMaster<br />Enables the sharing of multiple sessions over a single network connection. When set to &#8220;yes&#8221;, ssh(1) will listen for connections on a control socket specified using the ControlPath argument. Additional sessions can connect to this socket using the same ControlPath with ControlMaster set to &#8220;no&#8221; (the default). These sessions will try to reuse the master instance&#8217;s network connection rather than initiating new ones, but will fall back to connecting normally if the control socket does not exist, or is not listening.</p>
</blockquote>
<p style="clear: both">In order to configure, create or edit <strong>~/.ssh/config</strong> file and add following lines -</p>
<blockquote style="clear: both"><p>Host *<br /> ControlMaster auto<br /> ControlPath /tmp/%r@%h:%p</p>
</blockquote>
<p style="clear: both">In order to test above, you can use <strong>-v</strong> while using ssh command. This will print debug information message while establishing a connection. While using ControlMaster you will notice that the there are lesser messages.</p>
<blockquote style="clear: both"><p>debug1: auto-mux: Trying existing master</p>
</blockquote>
<p style="clear: both">If you don&#8217;t want to reuse existing connection you can use ssh with <strong> -S none</strong> which will create a new connection.</p>
<p><br class="final-break" style="clear: both" /></p>
]]></content:encoded>
			<wfw:commentRss>http://byteco.de/2009/12/09/speed-up-ssh-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

