<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.patrickmylund.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Patrick Mylund</title>
	
	<link>http://patrickmylund.com</link>
	<description />
	<lastBuildDate>Sun, 07 Feb 2010 14:45:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<feedburner:info uri="patrickmylund" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.0/</creativeCommons:license><xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /><meta xmlns="http://pipes.yahoo.com" name="pipes" content="noprocess" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.patrickmylund.com/patrickmylund" /><feedburner:emailServiceId>patrickmylund</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.patrickmylund.com%2Fpatrickmylund" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.patrickmylund.com%2Fpatrickmylund" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.patrickmylund.com%2Fpatrickmylund" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.patrickmylund.com/patrickmylund" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.patrickmylund.com%2Fpatrickmylund" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.patrickmylund.com%2Fpatrickmylund" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.patrickmylund.com%2Fpatrickmylund" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item>
		<title>How to Keep Alive SSH Sessions</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/GFAsLyjHr4Q/</link>
		<comments>http://patrickmylund.com/blog/how-to-keep-alive-ssh-sessions/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 14:38:52 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1375</guid>
		<description><![CDATA[Many NAT firewalls time out idle sessions after a certain period of time to keep their trunks clean. Sometimes the interval between session drops is 24 hours, but on many commodity firewalls, connections are killed after as little as 300 seconds. To avoid having your SSH sessions become unresponsive after e.g. 5 minutes, do the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Many NAT firewalls time out idle sessions after a certain period of time to keep their trunks clean. Sometimes the interval between session drops is 24 hours, but on many commodity firewalls, connections are killed after as little as 300 seconds. To avoid having your SSH sessions become unresponsive after e.g. 5 minutes, do the following:</p>
<h2>On Windows (PuTTY)</h2>
<p><img src="http://patrickmylund.com/blog/content/2010/02/putty.png" alt="" title="PuTTY icon" width="64" height="64" class="alignright size-full wp-image-1376" />In your session properties, go to <strong>Connection</strong> and under <strong>Sending of null packets to keep session active</strong>, set <strong>Seconds between keepalives (0 to turn off)</strong> to e.g. <strong>300</strong> (5 minutes).</p>
<h2>On Linux (ssh)</h2>
<p><img src="http://patrickmylund.com/blog/content/2010/02/konsole.png" alt="" title="Konsole icon" width="64" height="64" class="alignright size-full wp-image-1377" />To enable the keep alive system-wide (root access required), edit <code>/etc/ssh/ssh_config</code>; to set the settings for just your user, edit <code>~/.ssh/config</code> (create the file if it doesn&#8217;t exist). Insert the following:</p>
<pre>
Host *
    ServerAliveInterval 300
    ServerAliveCountMax 2
</pre>
<p>You can also make your OpenSSH server keep alive all connections with clients by adding the following to <code>/etc/ssh/sshd_config</code>:</p>
<pre>
ServerAliveInterval 300
ServerAliveCountMax 2
</pre>
<p>These settings will make the SSH client or server send a null packet to the other side every <strong>300 seconds</strong> (5 minutes), and give up if it doesn&#8217;t receive any response after <strong>2 tries</strong>, at which point the connection is likely to have been discarded anyway.</p>
<p>From the <code>ssh_config</code> man page:</p>
<blockquote><p>
<strong>ServerAliveCountMax</strong><br />
Sets the number of server alive messages (see below) which may be sent without ssh(1) receiving any messages back from the server. If this threshold is reached while server alive messages are being sent, ssh will disconnect from the server, terminating the session. It is important to note that the use of server alive messages is very different from TCPKeepAlive (below). The server alive messages are sent through the encrypted channel and therefore will not be spoofable. The TCP keepalive option enabled by TCPKeepAlive is spoofable. The server alive mechanism is valuable when the client or server depend on knowing when a connection has become inactive.</p>
<p>The default value is 3. If, for example, ServerAliveInterval (see below) is set to 15 and ServerAliveCountMax is left at the default, if the server becomes unresponsive, ssh will disconnect after approximately 45 seconds. This option applies to protocol version 2 only; in protocol version 1 there is no mechanism to request a response from the server to the server alive messages, so disconnection is the responsibility of the TCP stack.</p>
<p><strong>ServerAliveInterval</strong><br />
Sets a timeout interval in seconds after which if no data has been received from the server, ssh(1) will send a message through the encrypted channel to request a response from the server. The default is 0, indicating that these messages will not be sent to the server, or 300 if the BatchMode option is set. This option applies to protocol version 2 only. ProtocolKeepAlives and SetupTimeOut are Debian-specific compatibility aliases for this option.
</p></blockquote>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/GFAsLyjHr4Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/how-to-keep-alive-ssh-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/how-to-keep-alive-ssh-sessions/</feedburner:origLink></item>
		<item>
		<title>Lowering Gaming Mouse Sensitivity in Ubuntu 9.10</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/1dmLWkh5abQ/</link>
		<comments>http://patrickmylund.com/blog/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 22:54:18 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[HAL]]></category>
		<category><![CDATA[Razer]]></category>
		<category><![CDATA[Razer Deathadder]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[X.Org]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1372</guid>
		<description><![CDATA[I have a Razer Deathadder. It&#8217;s a nice mouse. In Ubuntu, though, its polling rates are through the roof and the mouse is pretty much unusable, even with GNOME&#8217;s mouse sensitivity and acceleration settings at their lowest. Previously, this could be fixed by tweaking the mouse section of your X.Org configuration file, /etc/X11/xorg.conf, but in [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://patrickmylund.com/blog/content/2010/02/razer_deathadder-200x191.jpg" alt="" title="Razer Deathadder" width="200" height="191" class="alignright size-medium wp-image-1373" />I have a Razer Deathadder. It&#8217;s a nice mouse. In Ubuntu, though, its polling rates are through the roof and the mouse is pretty much unusable, even with GNOME&#8217;s mouse sensitivity and acceleration settings at their lowest. Previously, this could be fixed by tweaking the mouse section of your X.Org configuration file, <code>/etc/X11/xorg.conf</code>, but in recent versions, a different measure is needed, as most devices are managed via <abbr title="Hardware Abstraction Layer">HAL</abbr>. Here&#8217;s how I regained my sanity and mouse slowness. The fix should work for any high-end mouse.</p>
<ol>
<li>Open a terminal</li>
<li>Run the command: <code>hal-device</code></li>
<li>In the output, locate the mouse&#8217;s hex format vendor and product ID&#8217;s as highlighted below:
<pre>82: udi = '/org/freedesktop/Hal/devices/usb_device_1532_7_noserial_if0'
  linux.hotplug_type = 2  (0x2)  (int)
  linux.subsystem = 'usb'  (string)
  info.linux.driver = 'usbhid'  (string)
  info.subsystem = 'usb'  (string)
  info.product = 'USB HID Interface'  (string)
  info.udi = '/org/freedesktop/Hal/devices/usb_device_1532_7_noserial_if0'  (string)
  usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0'  (string)
  usb.configuration_value = 1  (0x1)  (int)
  usb.num_configurations = 1  (0x1)  (int)
  usb.num_interfaces = 1  (0x1)  (int)
  usb.device_class = 0  (0x0)  (int)
  usb.device_subclass = 0  (0x0)  (int)
  usb.device_protocol = 0  (0x0)  (int)
  usb.product_id = 7  (<strong>0x7</strong>)  (int)
  usb.vendor_id = 5426  (<strong>0x1532</strong>)  (int)
  usb.product = 'USB HID Interface'  (string)
  usb.vendor = 'Razer USA, Ltd'  (string)
  usb.num_ports = 0  (0x0)  (int)
  usb.max_power = 100  (0x64)  (int)
  usb.device_revision_bcd = 256  (0x100)  (int)
  usb.is_self_powered = false  (bool)
  usb.can_wake_up = true  (bool)
  usb.bus_number = 8  (0x8)  (int)
  usb.speed = 12  (double)
  usb.version = 2  (double)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0'  (string)
  info.parent = '/org/freedesktop/Hal/devices/usb_device_1532_7_noserial'  (string)
  usb.interface.number = 0  (0x0)  (int)
  usb.linux.device_number = 3  (0x3)  (int)
  usb.interface.subclass = 1  (0x1)  (int)
  usb.interface.class = 3  (0x3)  (int)
  usb.interface.protocol = 2  (0x2)  (int)</pre>
<p>In this case, my Product ID is <strong>0&#215;7</strong> and my Vendor ID is <strong>0&#215;1532</strong>. Note that there can be more than one section containing the name of your mouse or its manufacturer &#8212; if you can&#8217;t find the product and vendor ID, look further down.</li>
<li>Edit the HAL policy file for input devices: <code>sudo nano -w /etc/hal/fdi/policy/10-x11-input.fdi</code></li>
<li>Insert the following text:</li>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:Consolas, Monospace, 'Courier New';"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;deviceinfo</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;0.2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;device<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;@input.originating_device:usb.vendor_id&quot;</span> <span style="color: #000066;">int</span>=<span style="color: #ff0000;">&quot;0x1532&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;match</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;@input.originating_device:usb.product_id&quot;</span> <span style="color: #000066;">int</span>=<span style="color: #ff0000;">&quot;0x7&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;merge</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">&quot;input.x11_options.ConstantDeceleration&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;string&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>5<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/merge<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/match<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/device<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/deviceinfo<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Adjust your vendor_id and product_id to match what you noted down before. If the file is empty or doesn&#8217;t exist, don&#8217;t worry. If it already exists, omit the first line about xml.</li>
<li>Hit <strong>Ctrl + X</strong>, then <strong>Y</strong> to save the file and exit <code>nano</code></li>
<li>Restart hald: <code>sudo service hald restart</code></li>
<li>Restart X.Org (log out or reboot your computer)</li>
</ol>
<p>That&#8217;s it! The &#8220;ConstantDeceleration&#8221; setting in <code>/etc/hal/fdi/policy/10-x11-input.fdi</code> is what does the trick. When set to a value of <strong>5</strong>, the sensitivity will essentially be divided by 5. Oh, sweet sanity.</p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/1dmLWkh5abQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/</feedburner:origLink></item>
		<item>
		<title>Hard to Believe It’s Not Real: The Third &amp; The Seventh</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/C1VKTKDBtlU/</link>
		<comments>http://patrickmylund.com/blog/hard-to-believe-its-animated-the-third-the-seventh/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 20:34:46 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Alex Roman]]></category>
		<category><![CDATA[animation]]></category>
		<category><![CDATA[The Third & The Seventh]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1369</guid>
		<description><![CDATA[
Made by Alex Roman &#8212; original available in MP4 format here (torrent).
]]></description>
			<content:encoded><![CDATA[<p></p><p><object width="700" height="394"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=7809605&#038;server=vimeo.com&#038;show_title=1&#038;show_byline=1&#038;show_portrait=1&#038;color=00ADEF&#038;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=7809605&#038;server=vimeo.com&#038;show_title=1&#038;show_byline=1&#038;show_portrait=1&#038;color=00ADEF&#038;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="700" height="394"></embed></object></p>
<p>Made by <a href="http://www.thirdseventh.com/" title="The Third &#038; The Seventh" rel="nofollow">Alex Roman</a> &#8212; original available in MP4 format <a href="http://www.temporarygate.com/TheThird&#038;TheSeventh.mp4.torrent" title="The Third &#038; The Seventh movie" rel="nofollow">here</a> (torrent).</p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/C1VKTKDBtlU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/hard-to-believe-its-animated-the-third-the-seventh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/hard-to-believe-its-animated-the-third-the-seventh/</feedburner:origLink></item>
		<item>
		<title>Owl In Mid-Flight</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/eZKY9pTB89Y/</link>
		<comments>http://patrickmylund.com/blog/owl-in-flight/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 23:21:43 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[Unsorted]]></category>
		<category><![CDATA[owl]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1365</guid>
		<description><![CDATA[
via reddit
]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://patrickmylund.com/blog/content/2010/01/owl_in_flight.jpg" alt="" title="Owl In Flight" width="700" height="457" class="aligncenter size-full wp-image-1367" /></p>
<p>via <a href="http://www.reddit.com/r/pics/comments/aqrnc/owl_in_flight/" title="reddit - Own In Flight" rel="nofollow">reddit</a></p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/eZKY9pTB89Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/owl-in-flight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/owl-in-flight/</feedburner:origLink></item>
		<item>
		<title>How To Set Up Simple SSH Tunneling</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/SEiv8zwJS9Y/</link>
		<comments>http://patrickmylund.com/blog/how-to-set-up-simple-ssh-tunneling/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 22:50:54 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[SSH tunneling]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1362</guid>
		<description><![CDATA[By far the easiest way to set up a simple connection proxy is to use the SSH tunneling feature of either PuTTY on Windows or SSH on Linux. This lets you establish connections to servers and ports that you might not be able to access (e.g. from work), as long as you can connect to [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://patrickmylund.com/blog/content/2010/01/openssh_logo.png" alt="" title="OpenSSH logo" width="194" height="191" class="alignright size-full wp-image-1363" />By far the easiest way to set up a simple connection proxy is to use the SSH tunneling feature of either PuTTY on Windows or SSH on Linux. This lets you establish connections to servers and ports that you might not be able to access (e.g. from work), as long as you can connect to your server&#8217;s SSH service (e.g. myserver.com port 22). This might be for privacy reasons, to connect to MSN from work, to browse a blocked website, et cetera.</p>
<h2>On Windows Machines</h2>
<ol>
<li>Download and open <a href="http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe" title="PuTTY" rel="nofollow">PuTTY</a></li>
<li>In the fields &#8216;Address&#8217; and &#8216;Port&#8217;, enter the address and port for your SSH server</li>
<li>Go to &#8216;Connection&#8217; -> &#8216;SSH&#8217; -> &#8216;Tunnels&#8217; on the left-hand side</li>
<li>In &#8216;Source port&#8217;, enter 31337, then click the button &#8216;Dynamic&#8217; and then &#8216;Add&#8217;</li>
<li>Go back to the main &#8216;Session&#8217; screen</li>
<li>In the &#8216;Saved Sessions&#8217; text box, enter e.g. &#8220;My Shell&#8221; and click &#8216;Save&#8217;</li>
<li>Double-click &#8220;My Shell&#8221; to establish a connection, then log in to your shell</li>
<li>In any application that supports connecting through a proxy, set the following settings:
<ul>
<li>Proxy Type: <strong>SOCKS 5</strong></li>
<li>Proxy Server: <strong>127.0.0.1</strong></li>
<li>Proxy Port: <strong>31337</strong></li>
</ul>
</li>
</ol>
<p>You can also set these as your global proxy settings in Windows (via &#8216;Control Panel&#8217; -> &#8216;Internet Properties&#8217; -> &#8216;Connections&#8217; -> &#8216;LAN settings&#8217; -> &#8220;Use a proxy server for your LAN&#8221; -> &#8216;Advanced&#8217; -> &#8216;Socks&#8217;: 127.0.0.1:31337. This will cause most applications to connect through the SSH tunnel to your server.</p>
<p>In the future, just open PuTTY and double-click &#8220;My Shell&#8221; to open your shell and activate the SSH tunneling.</p>
<h2>On Linux Machines</h2>
<ol>
<li>Open a terminal</li>
<li>Enter e.g.: <code>ssh -D31337 myuser@myserver.com -N</code></li>
<li>Log in to your shell</li>
<li>In any application that supports connecting through a proxy, set the following settings:
<ul>
<li>Proxy Type: <strong>SOCKS 5</strong></li>
<li>Proxy Server: <strong>127.0.0.1</strong></li>
<li>Proxy Port: <strong>31337</strong></li>
</ul>
</li>
</ol>
<p>Alternatively, enter e.g.: <code>ssh -L 31337:patrickmylund.com:80 myuser@myserver.com -N</code>. Here, you specify the target host and port before-hand; the result is that all connections to <strong>127.0.0.1</strong> port <strong>31337</strong> will be tunneled through your server, <strong>myserver.com</strong>, using your username, <strong>myuser</strong>, to the target machine, <strong>patrickmylund.com</strong>, port <strong>80</strong>.</p>
<p>The SSH tunnel will stay active until you close the terminal window or hit CTRL+C (Linux), or close PuTTY (Windows).</p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/SEiv8zwJS9Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/how-to-set-up-simple-ssh-tunneling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/how-to-set-up-simple-ssh-tunneling/</feedburner:origLink></item>
		<item>
		<title>Awesome Tree House: The Wilkinson Residence</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/i1g1SOJCnlE/</link>
		<comments>http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 21:31:30 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Cameron Neilson]]></category>
		<category><![CDATA[Robert Harvey Oshatz]]></category>
		<category><![CDATA[tree house]]></category>
		<category><![CDATA[Wilkinson Residence]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1350</guid>
		<description><![CDATA[by Robert Harvey Oshatz, photographed by Cameron Neilson.
]]></description>
			<content:encoded><![CDATA[<p></p>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_01/' title='Wilkinson Residence 01'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_01-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 01" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_02/' title='Wilkinson Residence 02'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_02-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 02" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_03/' title='Wilkinson Residence 03'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_03-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 03" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_04/' title='Wilkinson Residence 04'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_04-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 04" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_05/' title='Wilkinson Residence 05'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_05-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 05" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_06/' title='Wilkinson Residence 06'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_06-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 06" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_07/' title='Wilkinson Residence 07'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_07-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 07" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_08/' title='Wilkinson Residence 08'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_08-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 08" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_09/' title='Wilkinson Residence 09'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_09-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 09" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_10/' title='Wilkinson Residence 10'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_10-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 10" /></a>
<a href='http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/wilkinson_11/' title='Wilkinson Residence 11'><img width="150" height="150" src="http://patrickmylund.com/blog/content/2010/01/wilkinson_11-150x150.jpg" class="attachment-thumbnail" alt="" title="Wilkinson Residence 11" /></a>

<p>by <a href="http://www.oshatz.com/text/wilkinson.htm" title="Robert Harvey Oshatz - Wilkinson Residence" rel="nofollow">Robert Harvey Oshatz</a>, photographed by <a href="http://www.theseenphoto.com/" title="The Seen Photo" rel="nofollow">Cameron Neilson</a>.</p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/i1g1SOJCnlE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/awesome-tree-house-the-wilkinson-residence/</feedburner:origLink></item>
		<item>
		<title>You Know Too Much, Google</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/OGTs5A01Le4/</link>
		<comments>http://patrickmylund.com/blog/you-know-too-much-google/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 12:53:15 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[42]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hitchhiker's Guide to the Galaxy]]></category>
		<category><![CDATA[unicorns]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1339</guid>
		<description><![CDATA[





I&#8217;m not quite sure what I&#8217;d do without knowing that ((the loneliest number + the number of horns on a unicorn) / the answer to life the universe and everything) * once in a blue moon = 5.557096 × 10-10 hertz.
]]></description>
			<content:encoded><![CDATA[<p></p><p><a href="http://www.google.com/search?q=the+loneliest+number" rel="nofollow"><img src="http://patrickmylund.com/blog/content/2009/12/the_loneliest_number.png" alt="The Loneliest Number = 1" title="The Loneliest Number = 1" width="682" height="195" class="aligncenter size-full wp-image-1340" /></a></p>
<p><a href="http://www.google.com/search?q=the+answer+to+life+the+universe+and+everything" rel="nofollow"><img src="http://patrickmylund.com/blog/content/2009/12/the_answer_to_life_the_universe_and_everything-700x184.png" alt="The Answer to Life, The Universe, and Everything" title="The Answer to Life, The Universe, and Everything" width="700" height="184" class="aligncenter size-large wp-image-1341" /></a></p>
<p><a href="http://www.google.com/search?q=the+loneliest+number+plus+the+answer+to+life+the+universe+and+everything" rel="nofollow"><img src="http://patrickmylund.com/blog/content/2009/12/the_loneliest_number_plus_the_answer_to_life-700x188.png" alt="The Loneliest Number plus The Answer to Life" title="The Loneliest Number plus The Answer to Life" width="700" height="188" class="aligncenter size-large wp-image-1342" /></a></p>
<p><a href="http://www.google.com/search?q=the+number+of+horns+on+a+unicorn" rel="nofollow"><img src="http://patrickmylund.com/blog/content/2009/12/the_number_of_horns_on_a_unicorn.png" alt="The Number of Horns on a Unicorn" title="The Number of Horns on a Unicorn" width="677" height="184" class="aligncenter size-full wp-image-1343" /></a></p>
<p><a href="http://www.google.com/search?q=once+in+a+blue+moon" rel="nofollow"><img src="http://patrickmylund.com/blog/content/2009/12/once_in_a_blue_moon.png" alt="Once in a Blue Moon" title="Once in a Blue Moon" width="678" height="183" class="aligncenter size-full wp-image-1346" /></a></p>
<p><a href="http://www.google.com/search?q=(the+loneliest+number+%2B+the+number+of+horns+on+a+unicorn)+/+(the+answer+to+life+the+universe+and+everything)+*+(once+in+a+blue+moon)" rel="nofollow"><img src="http://patrickmylund.com/blog/content/2009/12/number-unicorn-answer_to_life-moon-700x93.png" alt="42, Unicorn Horns, Once in a blue moon" title="42, Unicorn Horns, Once in a blue moon" width="700" height="93" class="aligncenter size-large wp-image-1344" /></a></p>
<p>I&#8217;m not quite sure what I&#8217;d do without knowing that <code>((the loneliest number + the number of horns on a unicorn) / the answer to life the universe and everything) * once in a blue moon = 5.557096 × 10<sup>-10</sup> hertz</code>.</p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/OGTs5A01Le4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/you-know-too-much-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/you-know-too-much-google/</feedburner:origLink></item>
		<item>
		<title>I Love the Hubble Space Telescope</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/-hbWrJBpTOo/</link>
		<comments>http://patrickmylund.com/blog/i-love-the-hubble-space-telescope/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 21:51:24 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[Art]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Andromeda galaxy]]></category>
		<category><![CDATA[awe-inspiring]]></category>
		<category><![CDATA[ESA]]></category>
		<category><![CDATA[Hubble Deep Field]]></category>
		<category><![CDATA[Hubble Space Telescope]]></category>
		<category><![CDATA[NASA]]></category>
		<category><![CDATA[Sombrero galaxy]]></category>
		<category><![CDATA[stellar nursery]]></category>
		<category><![CDATA[STScl]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1333</guid>
		<description><![CDATA[Space is beautiful.





Source and more images: HubbleSite Gallery
]]></description>
			<content:encoded><![CDATA[<p></p><p>Space is beautiful.</p>
<p><a href="http://patrickmylund.com/blog/content/2009/12/hs-2009-32-a-full_smaller.jpg"><img src="http://patrickmylund.com/blog/content/2009/12/hs-2009-32-a-full_smaller-685x700.jpg" alt="Stellar nursery" title="Stellar nursery" width="700" height="700" class="aligncenter size-large wp-image-1336" /></a></p>
<p><a href="http://patrickmylund.com/blog/content/2009/12/Andromeda.jpg"><img src="http://patrickmylund.com/blog/content/2009/12/Andromeda-700x507.jpg" alt="The Andromeda Galaxy" title="The Andromeda Galaxy" width="700" height="507" class="aligncenter size-large wp-image-1334" /></a></p>
<p><a href="http://patrickmylund.com/blog/content/2009/12/M104_ngc4594_sombrero_galaxy_hi-res_smaller.jpg"><img src="http://patrickmylund.com/blog/content/2009/12/M104_ngc4594_sombrero_galaxy_hi-res_smaller-700x392.jpg" alt="The Sombrero Galaxy" title="The Sombrero Galaxy" width="700" height="392" class="aligncenter size-large wp-image-1335" /></a></p>
<p><a href="http://patrickmylund.com/blog/content/2009/12/deepfield.jpg"><img src="http://patrickmylund.com/blog/content/2009/12/deepfield-695x700.jpg" alt="Hubble Deep Field" title="Hubble Deep Field" width="695" height="700" class="aligncenter size-large wp-image-1338" /></a></p>
<p><a href="http://patrickmylund.com/blog/content/2009/12/panorama_of_the_carina_nebula.jpg"><img src="http://patrickmylund.com/blog/content/2009/12/panorama_of_the_carina_nebula-700x339.jpg" alt="" title="Panorama of the Carina Nebula" width="700" height="339" class="aligncenter size-large wp-image-1371" /></a></p>
<p>Source and more images: <a href="http://hubblesite.org/gallery/" title="HubbleSite Gallery" rel="nofollow">HubbleSite Gallery</a></p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/-hbWrJBpTOo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/i-love-the-hubble-space-telescope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/i-love-the-hubble-space-telescope/</feedburner:origLink></item>
		<item>
		<title>Thanks, Google. Really, Thanks.</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/R2xRZpzJJ1c/</link>
		<comments>http://patrickmylund.com/blog/thanks-google-really-thanks/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 19:01:19 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Similar Pages]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1331</guid>
		<description><![CDATA[While experimenting with the Google Similar Pages addon for Google Chrome, I tried it on this site:

I blame the addon&#8217;s &#8220;beta&#8221; label.
Speaking of, Google Chrome Extensions are out, and they are great &#8212; except for &#8216;Similar Pages&#8217;, of course.
]]></description>
			<content:encoded><![CDATA[<p></p><p>While experimenting with the <a href="https://chrome.google.com/extensions/detail/pjnfggphgdjblhfjaphkjhfpiiekbbej" title="Google Similar Pages" rel="nofollow">Google Similar Pages</a> addon for Google Chrome, I tried it on this site:</p>
<p><a href="http://patrickmylund.com/blog/content/2009/12/pm_qq.png"><img src="http://patrickmylund.com/blog/content/2009/12/pm_qq-699x485.png" alt="PatrickMylund.com is similar to what?" title="PatrickMylund.com is similar to what?" width="699" height="485" class="aligncenter size-large wp-image-1332" /></a></p>
<p>I blame the addon&#8217;s &#8220;beta&#8221; label.</p>
<p>Speaking of, <a href="https://chrome.google.com/extensions" title="Google Chrome Extensions" rel="nofollow">Google Chrome Extensions</a> are out, and they are great &#8212; except for &#8216;Similar Pages&#8217;, of course.</p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/R2xRZpzJJ1c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/thanks-google-really-thanks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/thanks-google-really-thanks/</feedburner:origLink></item>
		<item>
		<title>Google Launches Public DNS Service</title>
		<link>http://feeds.patrickmylund.com/~r/patrickmylund/~3/LXwy-jpOn08/</link>
		<comments>http://patrickmylund.com/blog/google-launches-public-dns-service/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 19:53:01 +0000</pubDate>
		<dc:creator>Patrick Mylund</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Public DNS]]></category>

		<guid isPermaLink="false">http://patrickmylund.com/?p=1330</guid>
		<description><![CDATA[Google has just launched a DNS service similar to OpenDNS, which I&#8217;ve written about previously. The service, dubbed &#8220;Google Public DNS&#8220;, aims to make domain name lookups (i.e. &#8220;What does www.google.com mean?&#8221;) faster, and is one of the steps in their plan to make the internet faster &#8212; or taking control of it, depending on [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><img src="http://patrickmylund.com/blog/content/2009/11/google_logo-200x72.png" alt="Google logo" title="Google logo" width="200" height="72" class="alignright size-medium wp-image-1313" />Google has just launched a DNS service similar to <a href="http://www.opendns.com/" title="OpenDNS website" rel="nofollow">OpenDNS</a>, which I&#8217;ve written about <a href="http://patrickmylund.com/blog/sick-of-your-slow-internet-connection-opendns-solves/" title="Sick Of Your Slow Internet Connection? OpenDNS Solves!">previously</a>. The service, dubbed &#8220;<a href="http://code.google.com/speed/public-dns/" title="Google Public DNS" rel="nofollow">Google Public DNS</a>&#8220;, aims to make domain name lookups (i.e. &#8220;What does www.google.com mean?&#8221;) faster, and is one of the steps in their plan to make the internet faster &#8212; or taking control of it, depending on how dramatic you want to sound.</p>
<p>You can test it by setting your computer or router&#8217;s DNS settings to the following DNS server IP addresses:</p>
<ul>
<li><strong>8.8.8.8</strong></li>
<li><strong>8.8.4.4</strong></li>
</ul>
<p>For instructions, see the Google Public DNS <a href="http://code.google.com/speed/public-dns/docs/using.html" title="Using Google Public DNS" rel="nofollow">configuration instructions</a>.</p>
<p>Unlike OpenDNS, which supports itself by providing advertisement-powered search pages for unresolved queries, Google promises that it will never do any form of redirection. A little strange, considering Google runs the largest advertisement service on the planet, but perhaps they genuinely just do want to make the internet faster.</p>
<p>In my tests, Google Public DNS had a significantly faster response time than OpenDNS from my location in Stockholm, Sweden (Europe). If you&#8217;d like to find out which DNS servers are right for you, Google also recently released a DNS server benchmark tool called <a href="http://code.google.com/p/namebench/" title="Namebench - Open Source DNS Benchmark Utility" rel="nofollow">namebench</a>, which tells you just that, factoring in all of the major public DNS services as well as regional ISP DNS servers.</p>
<p>Note that you should never use DNS servers that you don&#8217;t trust. DNS providers have full control over what &#8216;google.com&#8217;, &#8216;gmail.com&#8217;, etc. mean to your machine, and can redirect connections to these websites to malicious websites without your knowledge.</p>
<img src="http://feeds.feedburner.com/~r/patrickmylund/~4/LXwy-jpOn08" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://patrickmylund.com/blog/google-launches-public-dns-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://patrickmylund.com/blog/google-launches-public-dns-service/</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 0.840 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-02-07 15:45:19 --><!-- Compression = gzip -->
