<?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>GeekLad &#187; Miscellaneous Geekery</title>
	<atom:link href="http://geeklad.com/category/miscellaneous-geekery/feed" rel="self" type="application/rss+xml" />
	<link>http://geeklad.com</link>
	<description></description>
	<lastBuildDate>Wed, 01 Feb 2012 14:25:48 +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>Generate SSH Keys in Two Easy Steps</title>
		<link>http://geeklad.com/generate-ssh-keys-in-two-easy-steps</link>
		<comments>http://geeklad.com/generate-ssh-keys-in-two-easy-steps#comments</comments>
		<pubDate>Tue, 21 Jul 2009 13:02:56 +0000</pubDate>
		<dc:creator>GeekLad</dc:creator>
				<category><![CDATA[Miscellaneous Geekery]]></category>
		<category><![CDATA[authentication agent]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://geeklad.com/?p=1671</guid>
		<description><![CDATA[This post is probably as much for me as it is everyone else. I got sick of having to look up 3 or 4 different SSH keygen tutorials every time I needed to generate a private/public SSH key pair, so I thought I&#8217;d write up my own. Here&#8217;s how to … <a href="http://geeklad.com/generate-ssh-keys-in-two-easy-steps"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1672" style="border: 0 none;" title="openssh-logo" src="http://geeklad.com/wp-content/uploads/2009/07/openssh-logo.png" alt="openssh-logo" width="150" height="148" />This post is probably as much for me as it is everyone else.  I got sick of having to look up 3 or 4 different SSH keygen tutorials every time I needed to generate a private/public SSH key pair, so I thought I&#8217;d write up my own.  Here&#8217;s how to make your own SSH keys at a shell prompt (i.e. Linux):</p>
<p><span id="more-1671"></span></p>
<table border="0">
<tbody>
<tr>
<td>
<ol>
<li> Run the following commands on the machine you will be logging into:<br />
<p><code><br />
ssh-keygen<br />
chmod 700 ~/.ssh<br />
cat ~/.ssh/id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys2<br />
chmod 600 ~/.ssh/authorized_keys2<br />
rm ~/.ssh/id_rsa.pub<br />
</code><br />
<strong>Note:</strong> You may need to replace <strong><code>authorized_keys2</code></strong> with just <strong><code>authorized_keys</code></strong>.
</li>
<li> Copy the id_rsa file to the client machine (the machine you will be logging in from) and run the following command:<br /><br />
<code><br />
ssh-add id_rsa<br />
</code></li>
</ol>
</td>
</tr>
</tbody>
</table>
<p>That&#8217;s all there is to it!  Please be sure to <strong>keep the id_rsa file safe</strong>, and don&#8217;t ever share it with anyone unless you want them to log into the account.  You should protect the private keyfile in the same manner you would protect any password.</p>
<p>You may get an error on the client machine that says <strong><code>Could not open a connection to your authentication agent.</code></strong> If you see this message, run the following command:<br />
<code><br />
exec ssh-agent bash<br />
</code></p>
<p>That will start the ssh agent and allow you to connect to it so that you can add the new key.</p>
<h3>Alternate Step 2 for Windows Clients</h3>
<p>If your client is a Windows machine, you&#8217;re probably using <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">PuTTY</a> to connect to the host.  If that is the case, step 2 will be different for you and you&#8217;ll want to use PuTTYgen to import the key.</p>
<p>Just launch PuTTYgen, click <strong>Conversions</strong> and then <strong>Import key</strong>.<br />
<img src="http://geeklad.com/wp-content/uploads/2009/07/PuTTYgen.png" alt="PuTTYgen" title="PuTTYgen" width="234" height="128" class="alignnone size-full wp-image-1686" style="border: 0 none;"/><br />
Then click <strong>Save private key</strong> and you&#8217;re done!</p>
<h3>Connecting to an SSH Host with PuTTY</h3>
<p>You should be able to use the key to connect to the host from PuTTY.  Just start up PuTTY, load your saved session or enter the host info, go to <strong>Connection</strong> > <strong>SSH</strong> > <strong>Auth</strong> and  browse to the private key (.ppk file) you just saved.<br />
<img src="http://geeklad.com/wp-content/uploads/2009/07/Using-Key-File-in-PuTTY.png" alt="Using Key File in PuTTY" title="Using Key File in PuTTY" width="430" height="289" class="alignnone size-full wp-image-1687" style="border: 0 none;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://geeklad.com/generate-ssh-keys-in-two-easy-steps/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Still Alive on Carillon</title>
		<link>http://geeklad.com/still-alive-on-carillon</link>
		<comments>http://geeklad.com/still-alive-on-carillon#comments</comments>
		<pubDate>Wed, 28 Jan 2009 11:34:52 +0000</pubDate>
		<dc:creator>GeekLad</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Miscellaneous Geekery]]></category>

		<guid isPermaLink="false">http://geeklad.com/?p=1271</guid>
		<description><![CDATA[Yesterday my good Friend Bwana shared an article on Lifehacker about GrandCentral preparing for a new release. In his comment along with the shared item Bwana said, Play the Portal Theme&#8230; Still Alive.. Of course, that prompted me to search YouTube for the song. I listened to it and I … <a href="http://geeklad.com/still-alive-on-carillon"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday my good Friend <a href="http://bwana.org">Bwana</a> shared an article on <a href="http://lifehacker.com/">Lifehacker</a> about <a href="http://lifehacker.com/5140139/grandcentral-still-alive-new-version-imminent">GrandCentral preparing for a new release.</a> In his comment along with the shared item Bwana said, </p>
<blockquote><p>Play the Portal Theme&#8230; Still Alive.. <img src='http://geeklad.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></blockquote>
<p>Of course, that prompted me to search YouTube for the song. I listened to it and I enjoyed it. I also checked out a few others including a <a href="http://www.youtube.com/watch?v=sxNmeMklFk8&#038;feature=related">live version of Still Alive</a> performed by the writer, <a href="http://www.jonathancoulton.com/2008/06/23/still-alive-on-carillon/">Johnathan Coulton</a>.</p>
<p>After listening to the live version, I searched for Johnathan&#8217;s blog and started browsing around on it.  I came across a post of <a href="http://www.jonathancoulton.com/2008/06/23/still-alive-on-carillon/">Still Alive being played on the carillon</a>. Check out the video. The <a href="http://en.wikipedia.org/wiki/Carillon">carillon</a> isn&#8217;t terribly impressive to watch, but it&#8217;s a cool video to listen to.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/JPPjS-TCCqk&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/JPPjS-TCCqk&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;hl=en&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://geeklad.com/still-alive-on-carillon/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Laptop as a Wireless Router</title>
		<link>http://geeklad.com/laptop-as-a-wireless-router</link>
		<comments>http://geeklad.com/laptop-as-a-wireless-router#comments</comments>
		<pubDate>Thu, 25 Sep 2008 21:24:33 +0000</pubDate>
		<dc:creator>GeekLad</dc:creator>
				<category><![CDATA[Miscellaneous Geekery]]></category>

		<guid isPermaLink="false">http://geeklad.com/?p=328</guid>
		<description><![CDATA[You may some day come across the rare situation of temporarily needing an extra wireless router.  I can&#8217;t really think of a good example, but I know that I encountered such a situation yesterday.  I decided I would write up an article as it may prove useful to others that may … <a href="http://geeklad.com/laptop-as-a-wireless-router"> Continue reading <span class="meta-nav">&#8594; </span></a>]]></description>
			<content:encoded><![CDATA[<p>You may some day come across the rare situation of temporarily needing an extra wireless router.  I can&#8217;t really think of a good example, but I know that I encountered such a situation yesterday.  I decided I would write up an article as it may prove useful to others that may find themselves in a similar situation some day.<br />
<span id="more-328"></span><br />
I had a PC lying around that was still quite usable, but I only had one monitor.  Eventually I decided it would be worthwhile to purchase a second monitor so that my wife could make use of the computer.  We also decided we would put it into a separate room, so it would not be located adjacent to the other computer and Internet connection.  In addition to the monitor, I also ordered a wireless router, wireless keyboard, and a wireless mouse to use with the machine.</p>
<p>Well, as it so happened, the monitor arrived in a separate shipment before the router and peripherals did.  After I had nearly completed hooking everything up, my wife informed me that she wanted to get online with it to buy some music for her iPod.  Of course, this PC was the home machine for the iPod.  I really didn&#8217;t feel like moving everything back to the office, hook it all up so she could get online and get her music, then move it back to the permanent home.  I then had a revelation and realized I could use my laptop as a wireless router.</p>
<div id="attachment_330" class="wp-caption aligncenter" style="width: 310px"><a rel="lightbox[laptoprouter]" href="http://geeklad.com/wp-content/uploads/2008/09/laptop-router.png"><img class="size-medium wp-image-330 " title="laptop-router" src="http://geeklad.com/wp-content/uploads/2008/09/laptop-router-300x208.png" alt="" width="300" height="208" /></a><p class="wp-caption-text">Diagram for Laptop as a Router</p></div>
<p>Here are the basic requirements for using your laptop as a wireless router:</p>
<ul>
<li>A laptop with a wireless network device as well as an ethernet device (duh!)</li>
<li>A wireless router that is hard-wired to your Internet connection</li>
<li>A hub or router for connecting to the laptop and other machines (alternatively, you could use a <a href="http://en.wikipedia.org/wiki/Ethernet_crossover_cable">crossover cable</a>)</li>
<li>At least two ethernet cables, one for the laptop and one for other machines</li>
</ul>
<p>I was fortunate I had an old hub stashed away within the depths of my gadget closet and had plenty of unused ethernet cables lying around.  Basically all you need to do is:</p>
<ol>
<li>Connect the laptop to the hub via one of the ethernet cables</li>
<li>Connect the computer(s) to the hub via the other ethernet cable(s)</li>
<p><em>If you use a crossover cable instead of a hub, you would connect the ethernet port on the computer directly to the one on the laptop.</em></p>
<li>Connect the laptop to the wireless hub with the laptop&#8217;s wireless device (you are probably already doing this)</li>
<li>Set up Internet connection sharing on the laptop to share the wireless device</li>
<div id="attachment_333" class="wp-caption alignright" style="width: 310px"><a rel="lightbox[laptoprouter]" href="http://geeklad.com/wp-content/uploads/2008/09/network-connections.png"><img class="size-medium wp-image-333 " title="network-connections" src="http://geeklad.com/wp-content/uploads/2008/09/network-connections-300x228.png" alt="Network Connections Window" width="300" height="228" /></a><p class="wp-caption-text">Network Connections Window</p></div>
<div id="attachment_337" class="wp-caption alignright" style="width: 258px"><a rel="lightbox[laptoprouter]" href="http://geeklad.com/wp-content/uploads/2008/09/ics.png"><img class="size-medium wp-image-337" title="ics" src="http://geeklad.com/wp-content/uploads/2008/09/ics-248x300.png" alt="Internet Connection Sharing" width="248" height="300" /></a><p class="wp-caption-text">Internet Connection Sharing</p></div>
<p>If you are using Windows XP:</p>
<li>Launch the control panel</li>
<li>Go to your network connections</li>
<li>Right-click on the wireless device and go to properties</li>
<li>Click the Advanced tab</li>
<li>In the <strong>Internet Connection Sharing</strong> section, click the check box that says <strong>Allow other network users to connect through this computer&#8217;s Internet connection</strong></li>
<li>Click OK</li>
</ol>
<p>That&#8217;s all there is to it!  This will also work fine with a Mac or Vista laptop.  I don&#8217;t have either, so I&#8217;m not at liberty to provide step-by-step instructions and screen shots.  The physical setup would be exactly the same.  You would just have to take different steps to set up Internet connection sharing.  Just be sure that you set it up to share the connection on the wireless device.</p>
]]></content:encoded>
			<wfw:commentRss>http://geeklad.com/laptop-as-a-wireless-router/feed</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: geeklad.com @ 2012-02-04 01:00:40 -->
