<?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.feedburner.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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Linux Loop</title>
	
	<link>http://www.linuxloop.com</link>
	<description>Linux news, Ubuntu news, open-source software reviews, and Ubuntu tutorials</description>
	<lastBuildDate>Sat, 14 Nov 2009 18:26:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/LinuxLoop" /><feedburner:info uri="linuxloop" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Tricks for Installing and Configuring a Local LAMP Sever</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/ia5xdPzzYOs/</link>
		<comments>http://www.linuxloop.com/2009/11/14/tricks-for-installing-and-configuring-a-local-lamp-sever/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 18:26:40 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[lamp]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2443</guid>
		<description><![CDATA[LAMP stands for Linux, Apache, MySQL, and PHP, which represents a very common configuration for Linux-based web servers. If you&#8217;re interested in testing websites, particularly those that involve a server-side scripting language like PHP, you can install a local LAMP server on your own computer. This tutorial will show you some tricks for setting up [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2008/08/09/addressing-the-apache-microsoft-issue/' rel='bookmark' title='Permanent Link: Addressing The Apache-Microsoft Issue'>Addressing The Apache-Microsoft Issue</a></li><li><a href='http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 1'>Remotely Accessing Your Linux Computer: Part 1</a></li><li><a href='http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 4'>Remotely Accessing Your Linux Computer: Part 4</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>LAMP stands for <strong>L</strong>inux, <strong>A</strong>pache, <strong>M</strong>ySQL, and <strong>P</strong>HP, which represents a very common configuration for Linux-based web servers. If you&#8217;re interested in testing websites, particularly those that involve a server-side scripting language like PHP, you can install a local LAMP server on your own computer. This tutorial will show you some tricks for setting up a local LAMP server.</p>
<p>Most of this tutorial will apply to any Linux distribution, however the first trick only applies to Debian-based distributions using Synaptic (including Ubuntu).</p>
<h4>Trick 1: Installing LAMP with one click</h4>
<p>Open Synaptic and choose <em>Edit &gt; Mark packages by task&#8230;</em> Then check the box next to <em>LAMP Server</em>, click <em>OK</em>, and click <em>Apply</em>. That&#8217;s it!</p>
<div id="attachment_2451" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.linuxloop.com/wp-content/uploads/2009/11/mark-pkg-task.jpeg"><img class="size-medium wp-image-2451" title="Mark Packages by Task" src="http://www.linuxloop.com/wp-content/uploads/2009/11/mark-pkg-task-300x272.jpg" alt="Sets of packages can be marked together" width="300" height="272" /></a><p class="wp-caption-text">Sets of packages can be marked together</p></div>
<h4>Trick 2: Easy access to /var/www/</h4>
<p>By defualt, the directory that stores all the files for your new server (/var/www/) can only be written to by root. This gets to be a real pain, since you have to use sudo any time you want to put something in /var/www/. You can fix this using the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> o+<span style="color: #c20cb9; font-weight: bold;">w</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>This allows anyone to write to /var/www/. I am sure many people will argue that this is a bad policy; however,  I generally feel that there is minimal risk in opening up one non-essential directory to write access by anyone on a personal computer.</p>
<h4>Trick 3: Testing on a different computer</h4>
<p>What if your new website involves interactions between different users or you need to see how it looks on a different operating system? You don&#8217;t need to buy hosting space just to do these tests. If you have another computer on the same network, you can actually access the website from that computer.</p>
<p>On your server computer, type this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifconfig</span></pre></div></div>

<p>Find the IP address after <em>inet addr</em> and enter this in the address bar on a different computer that is on the same network. You should see the Apache &#8220;It works!&#8221; page or whatever else you have in the root of your /var/ww/ directory.</p>
<p>I hope this helps you create some cool websites without paying for hosting until you really need it.</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2008/08/09/addressing-the-apache-microsoft-issue/' rel='bookmark' title='Permanent Link: Addressing The Apache-Microsoft Issue'>Addressing The Apache-Microsoft Issue</a></li><li><a href='http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 1'>Remotely Accessing Your Linux Computer: Part 1</a></li><li><a href='http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 4'>Remotely Accessing Your Linux Computer: Part 4</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=ia5xdPzzYOs:P7-fhS8yg34:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=ia5xdPzzYOs:P7-fhS8yg34:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=ia5xdPzzYOs:P7-fhS8yg34:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=ia5xdPzzYOs:P7-fhS8yg34:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=ia5xdPzzYOs:P7-fhS8yg34:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/ia5xdPzzYOs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/11/14/tricks-for-installing-and-configuring-a-local-lamp-sever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/11/14/tricks-for-installing-and-configuring-a-local-lamp-sever/</feedburner:origLink></item>
		<item>
		<title>Your Hard Drive in the Cloud</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/uiOKtpgyeqM/</link>
		<comments>http://www.linuxloop.com/2009/11/02/your-hard-drive-in-the-cloud/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 20:23:36 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2437</guid>
		<description><![CDATA[Cloud computing may a little over-promised, but it isn&#8217;t &#8220;worse than stupidity,&#8221; as Richard Stallman would say. In fact, it&#8217;s really a very positive change in the way we use computers. Not only does it eliminate many of the barriers to using any operating system you want, but it also takes the responsibility of storing [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2008/07/16/open-source-in-the-cloud/' rel='bookmark' title='Permanent Link: Open Source in the Cloud'>Open Source in the Cloud</a></li><li><a href='http://www.linuxloop.com/2008/08/01/online-word-processors-worth-a-try/' rel='bookmark' title='Permanent Link: Online Word Processors Worth A Try'>Online Word Processors Worth A Try</a></li><li><a href='http://www.linuxloop.com/2008/07/19/open-standards-for-cloud-computing/' rel='bookmark' title='Permanent Link: Open Standards for Cloud Computing'>Open Standards for Cloud Computing</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Cloud computing may a little over-promised, but it isn&#8217;t &#8220;worse than stupidity,&#8221; as <a href="http://www.guardian.co.uk/technology/2008/sep/29/cloud.computing.richard.stallman" target="_blank">Richard Stallman would say</a>. In fact, it&#8217;s really a very positive change in the way we use computers. Not only does it eliminate many of the barriers to using any operating system you want, but it also takes the responsibility of storing and backing up data off of the user. This is all in a very early stage, but the glitches should be worked out in a few years.</p>
<p>Unfortunately, it&#8217;s very hard for people to create successful web applications without backing from companies like Google and Microsoft. The problem is that when you start using, for example, Google Docs, it is very hard to switch to Zoho Office. You certainly can&#8217;t use both to edit the same documents as you could if they were stored on your hard drive. This means that you are locked into using a single application, naturally leading most of us to pick the one we trust the most. This problem also blocks out a lot of the hobbyist open-source projects that might otherwise appear as web applications.</p>
<p>What we need is a &#8220;hard drive in the cloud&#8221;: a personal storage space from which documents could be opened with any web application. For example, someone could create a document in Google Docs and save it to their &#8220;hard drive in the cloud.&#8221; Then, they could open that document from Zoho Office and continue working on it there.</p>
<p>The problem with this plan is that it would require an established web application vendor to adopt it before anyone would bother to use it, and no major web application vendor has an incentive to adopt a system which would make it easier for their customers to switch the a different service.</p>
<p>How will we get data portability in the cloud when companies like Google have it in their interest to prevent any such project?</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2008/07/16/open-source-in-the-cloud/' rel='bookmark' title='Permanent Link: Open Source in the Cloud'>Open Source in the Cloud</a></li><li><a href='http://www.linuxloop.com/2008/08/01/online-word-processors-worth-a-try/' rel='bookmark' title='Permanent Link: Online Word Processors Worth A Try'>Online Word Processors Worth A Try</a></li><li><a href='http://www.linuxloop.com/2008/07/19/open-standards-for-cloud-computing/' rel='bookmark' title='Permanent Link: Open Standards for Cloud Computing'>Open Standards for Cloud Computing</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=uiOKtpgyeqM:iL9lEqVguQc:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=uiOKtpgyeqM:iL9lEqVguQc:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=uiOKtpgyeqM:iL9lEqVguQc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=uiOKtpgyeqM:iL9lEqVguQc:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=uiOKtpgyeqM:iL9lEqVguQc:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/uiOKtpgyeqM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/11/02/your-hard-drive-in-the-cloud/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/11/02/your-hard-drive-in-the-cloud/</feedburner:origLink></item>
		<item>
		<title>Buttons Are Not Evil: The Magic Mouse</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/uD_GahamB9M/</link>
		<comments>http://www.linuxloop.com/2009/10/22/buttons-are-not-evil-the-magic-mouse/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 03:29:54 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[magic mouse]]></category>
		<category><![CDATA[mice]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2430</guid>
		<description><![CDATA[In the future, every wall will be a multi-touce interface, there will be no buttons to confuse our little brains, and everyone&#8217;s arms will be sore from holding them out at the wall to type on their computers.
We already knew Apple didn&#8217;t like buttons, but I don&#8217;t think anyone saw it coming when they announced [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2008/12/26/review-the-logitech-mx-air-on-linux/' rel='bookmark' title='Permanent Link: Review: The Logitech MX Air on Linux'>Review: The Logitech MX Air on Linux</a></li><li><a href='http://www.linuxloop.com/2009/02/08/brilliant-brainstorms-46-spread-the-mice/' rel='bookmark' title='Permanent Link: Brilliant Brainstorms #46 &#8211; Spread the Mice'>Brilliant Brainstorms #46 &#8211; Spread the Mice</a></li><li><a href='http://www.linuxloop.com/2008/09/21/predictive-dynamic-actions/' rel='bookmark' title='Permanent Link: Predictive Dynamic Actions'>Predictive Dynamic Actions</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>In the future, every wall will be a multi-touce interface, there will be no buttons to confuse our little brains, and everyone&#8217;s arms will be sore from holding them out at the wall to type on their computers.</p>
<p>We already knew Apple didn&#8217;t like buttons, but I don&#8217;t think anyone saw it coming when they announced a new mice with not one, not two, not three, but zero buttons. With zero tactile feedback, zero division between the left and right buttons, the same pointless 360 degree scrolling you never used before, and an insanely high cool factor, the Magic Mouse is clearly something that will be desired by&#8230;</p>
<p>For years Apple&#8217;s mice have been the least practical part of Apple&#8217;s line of products. In answer to $20 ergonomically comfortable mice with two buttons, a scroll wheel, and smaller back and forward buttons for easy navigation, Apple has introduced the $70 Magic Mouse that promises to work just like a normal mouse, as long as you imagine the tactile feedback and remember where the left and right buttons are. On the plus side, it is pretty.</p>
<p>I applaud Apple for trying something new, but a buttonless mouse is not ready to be a real product.Perhaps in ten years we will all have touch mouses, but its too soon for that now. Deliberately decreasing usability in an effort to create art is not a good tradeoff when it comes to our mice. Sorry, but I still like buttons.</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2008/12/26/review-the-logitech-mx-air-on-linux/' rel='bookmark' title='Permanent Link: Review: The Logitech MX Air on Linux'>Review: The Logitech MX Air on Linux</a></li><li><a href='http://www.linuxloop.com/2009/02/08/brilliant-brainstorms-46-spread-the-mice/' rel='bookmark' title='Permanent Link: Brilliant Brainstorms #46 &#8211; Spread the Mice'>Brilliant Brainstorms #46 &#8211; Spread the Mice</a></li><li><a href='http://www.linuxloop.com/2008/09/21/predictive-dynamic-actions/' rel='bookmark' title='Permanent Link: Predictive Dynamic Actions'>Predictive Dynamic Actions</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=uD_GahamB9M:Epm0iLuUqUA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=uD_GahamB9M:Epm0iLuUqUA:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=uD_GahamB9M:Epm0iLuUqUA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=uD_GahamB9M:Epm0iLuUqUA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=uD_GahamB9M:Epm0iLuUqUA:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/uD_GahamB9M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/10/22/buttons-are-not-evil-the-magic-mouse/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/10/22/buttons-are-not-evil-the-magic-mouse/</feedburner:origLink></item>
		<item>
		<title>Blog Action Day ‘09: Lighting the World with LEDs</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/EN5P8U1Dwi0/</link>
		<comments>http://www.linuxloop.com/2009/10/15/blog-action-day-09-lighting-the-world-with-leds/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 20:00:24 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Opinion]]></category>
		<category><![CDATA[blog action day]]></category>
		<category><![CDATA[climate change]]></category>
		<category><![CDATA[led lights]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2426</guid>
		<description><![CDATA[This is a post for Blog Action Day 2009, an effort to unite bloggers to discuss one topic for one day from many different perspectives. This year&#8217;s topic, chosen by a vote, is climate change.
Remember the big push for everyone to switch to compact fluorescent, or CFL, light bulbs? Many people advertised them as the [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2008/10/15/blog-action-day-2008-the-obstacles-to-using-open-source-to-provide-equal-opportunity-and-combat-poverty/' rel='bookmark' title='Permanent Link: Blog Action Day 2008: The Obstacles to Using Open-Source to Provide Equal Opportunity and Combat Poverty'>Blog Action Day 2008: The Obstacles to Using Open-Source to Provide Equal Opportunity and Combat Poverty</a></li><li><a href='http://www.linuxloop.com/2009/10/01/coming-up-blog-action-day-2009/' rel='bookmark' title='Permanent Link: Coming up: Blog Action Day 2009'>Coming up: Blog Action Day 2009</a></li><li><a href='http://www.linuxloop.com/2008/10/12/blog-action-day-what-are-the-obstacles-to-using-open-source-to-combat-poverty/' rel='bookmark' title='Permanent Link: Blog Action Day: What are the obstacles to using open-source to combat poverty?'>Blog Action Day: What are the obstacles to using open-source to combat poverty?</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><em>This is a post for <a href="http://www.blogactionday.org/" target="_blank">Blog Action Day 2009</a>, an effort to unite bloggers to discuss one topic for one day from many different perspectives. This year&#8217;s topic, chosen by a vote, is climate change.</em></p>
<p>Remember the big push for everyone to switch to <a href="http://www.energystar.gov/index.cfm?c=cfls.pr_cfls" target="_blank">compact fluorescent</a>, or CFL, light bulbs? Many people advertised them as the easy solution to all of our energy problems. Ignoring the other impracticalities of this claim, there are still two problems with CFLs. First, the murcury in them is a potential household <a href="http://www.energystar.gov/ia/products/lighting/cfls/downloads/CFL_Cleanup_and_Disposal.pdf" target="_blank">risk if a CFL ever breaks</a> [PDF]. Second, unlesss they are properly recycled, that murcury ends up back the in the environment, where it damages ecosystems, eventually making its way up the foodchain to humans.</p>
<p>Luckily, there is a fairly new technology that solves both of these problems: LED light bulbs. LEDs have been around for a long time, but until recently LED light bulbs were expensive and dim. With LED ligth bulbs that are neither expensive (well, not <em>too</em> expensive) nor dim, let&#8217;s look at some of the benefits of LED light bulbs:</p>
<ul>
<li><strong>Long lasting</strong> &#8211; The <a href="http://www.earthled.com/evolux-led-light-bulb.html" target="_blank">EvoLux LED light bulbs</a> advertise a 50,000 hour lifetime compared to most incandescents that advertise lifetimes in the range of 4,000 hours. Practically speaking, that&#8217;s a 1 to 2 years compared to 10+ years.</li>
<li><strong>Sturdy</strong> &#8211; A lot of an LED bulb&#8217;s casing is made of plastic and LEDs are pretty hard to break in the first place, so your LED bulbs shouldn&#8217;t be breaking unless you&#8217;re really mistreating them.</li>
<li><strong>No mercury</strong> &#8211; Even if an LED bulb does breaks, there are usually no toxic chemicals to clean up.</li>
<li><strong>Even less energy usage than CFLs</strong> &#8211; The (advertised) equivalent of a 100W compact florescent CFL bulb usually <a href="http://www.greenzer.com/26-watt-cfl-100-watt-incandescent-equivalent-compact-fluorescent-spring-lamp-full-spectrum-5000k-global-consumer-products-121-light-bulbs_G_fxs" target="_blank">sucks 20-30 watts</a>, while (advertised) LED equivellents can be found in <a href="http://www.earthled.com/evolux-led-light-bulb.html" target="_blank">12-13 watt range</a>. (I haven&#8217;t actually checked with a light meter.)</li>
</ul>
<p>The only significant problem with LED bulbs is the cost. As opposed to an incandescent or CFL which can be purchased for a few dollars, an LED bulb costs around $50. It does pay off in evergy savings, though.</p>
<p>I compared the approximate cost savings of an EvoLux LED bulb over a standard incandescent and found that the LED bulb would pay off in the fourth year.</p>
<p style="text-align: left;">
<div id="attachment_2427" class="wp-caption aligncenter" style="width: 224px"><a href="http://www.linuxloop.com/wp-content/uploads/2009/10/screenshot_016.jpeg"><img class="size-full wp-image-2427" title="LED Savings" src="http://www.linuxloop.com/wp-content/uploads/2009/10/screenshot_016.jpeg" alt="Amount of omeny saved over time by using an LED bulb" width="214" height="258" /></a><p class="wp-caption-text">Amount of money saved over time by using an LED bulb (Each mark on the X axis represents one year.)</p></div>
<p style="text-align: left;">So if you&#8217;ve been holding out on CFLs or are just looking for a way to save even more energy, try an LED bulb. I chose to try an EvoLux, but don&#8217;t limit yourself to that. Find the best deal you can and try it out.</p>
<p style="text-align: left;">Of course, you can also download the <a href="http://www.linuxloop.com/wp-content/uploads/2009/10/led_vs_inc_lights_evolux.ods">LED vs incandescent light cost savings</a> spreadsheet. Plug in your energy cost and see what happens. (The graph is on sheet 2.)</p>
<p style="text-align: left;">Happy Blog Action Day!</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2008/10/15/blog-action-day-2008-the-obstacles-to-using-open-source-to-provide-equal-opportunity-and-combat-poverty/' rel='bookmark' title='Permanent Link: Blog Action Day 2008: The Obstacles to Using Open-Source to Provide Equal Opportunity and Combat Poverty'>Blog Action Day 2008: The Obstacles to Using Open-Source to Provide Equal Opportunity and Combat Poverty</a></li><li><a href='http://www.linuxloop.com/2009/10/01/coming-up-blog-action-day-2009/' rel='bookmark' title='Permanent Link: Coming up: Blog Action Day 2009'>Coming up: Blog Action Day 2009</a></li><li><a href='http://www.linuxloop.com/2008/10/12/blog-action-day-what-are-the-obstacles-to-using-open-source-to-combat-poverty/' rel='bookmark' title='Permanent Link: Blog Action Day: What are the obstacles to using open-source to combat poverty?'>Blog Action Day: What are the obstacles to using open-source to combat poverty?</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=EN5P8U1Dwi0:OLtJMcPWin4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=EN5P8U1Dwi0:OLtJMcPWin4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=EN5P8U1Dwi0:OLtJMcPWin4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=EN5P8U1Dwi0:OLtJMcPWin4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=EN5P8U1Dwi0:OLtJMcPWin4:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/EN5P8U1Dwi0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/10/15/blog-action-day-09-lighting-the-world-with-leds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/10/15/blog-action-day-09-lighting-the-world-with-leds/</feedburner:origLink></item>
		<item>
		<title>Hulu Desktop Comes to Linux</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/SBQDmYji13w/</link>
		<comments>http://www.linuxloop.com/2009/10/10/hulu-desktop-comes-to-linux/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 22:54:53 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2421</guid>
		<description><![CDATA[Hulu, a popular website which offers free, ad-supported TV shows (and a few movies) has ported their Hulu Desktop software to Linux. Hulu says that Hulu Desktop for Linux will work on Ubuntu 9.04 and Fedora, althoug it could almost certainly be run on other Linux distributions.
Hulu Desktop is free and packages are provided for [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2009/04/30/hulus-breakthrough/' rel='bookmark' title='Permanent Link: Hulu&#039;s Breakthrough'>Hulu&#039;s Breakthrough</a></li><li><a href='http://www.linuxloop.com/2009/02/20/linux-can-be-more-than-your-desktop-it-can-be-your-back-up/' rel='bookmark' title='Permanent Link: Linux Can Be More Than Your Desktop; It Can Be Your Back Up'>Linux Can Be More Than Your Desktop; It Can Be Your Back Up</a></li><li><a href='http://www.linuxloop.com/2008/10/27/a-story-about-nothing-shuttleworth-says-you-cant-make-money-from-the-linux-desktop/' rel='bookmark' title='Permanent Link: A Story About Nothing: Shuttleworth Says You Can&#039;t Make Money From the Linux Desktop'>A Story About Nothing: Shuttleworth Says You Can&#039;t Make Money From the Linux Desktop</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>Hulu, a popular website which offers free, ad-supported TV shows (and a few movies) has ported their Hulu Desktop software to Linux. Hulu says that Hulu Desktop for Linux will work on Ubuntu 9.04 and Fedora, althoug it could almost certainly be run on other Linux distributions.</p>
<div id="attachment_2422" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.linuxloop.com/wp-content/uploads/2009/10/hulu_desktop.jpeg"><img class="size-medium wp-image-2422" title="Hulu Desktop Logo" src="http://www.linuxloop.com/wp-content/uploads/2009/10/hulu_desktop-300x59.jpg" alt="Hulu Desktop for Linux" width="300" height="59" /></a><p class="wp-caption-text">Hulu Desktop for Linux</p></div>
<p><a href="http://www.hulu.com/labs/hulu-desktop-linux" target="_blank">Hulu Desktop</a> is free and packages are provided for both 32-bit and 64-bit Ubuntu and Fedora.</p>
<p>Although there are still issues with the limited amount of content networks will allow Hulu to offer, Hulu has been gaining steadily in popularity.</p>
<p><a href="http://www.linuxloop.com/wp-content/uploads/2009/10/screenshot_014.jpeg"><img class="aligncenter size-medium wp-image-2423" title="screenshot_014" src="http://www.linuxloop.com/wp-content/uploads/2009/10/screenshot_014-300x194.jpg" alt="screenshot_014" width="300" height="194" /></a><a href="http://www.linuxloop.com/wp-content/uploads/2009/10/screenshot_015.jpeg"><img class="aligncenter size-medium wp-image-2424" title="screenshot_015" src="http://www.linuxloop.com/wp-content/uploads/2009/10/screenshot_015-300x194.jpg" alt="screenshot_015" width="300" height="194" /></a></p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2009/04/30/hulus-breakthrough/' rel='bookmark' title='Permanent Link: Hulu&#039;s Breakthrough'>Hulu&#039;s Breakthrough</a></li><li><a href='http://www.linuxloop.com/2009/02/20/linux-can-be-more-than-your-desktop-it-can-be-your-back-up/' rel='bookmark' title='Permanent Link: Linux Can Be More Than Your Desktop; It Can Be Your Back Up'>Linux Can Be More Than Your Desktop; It Can Be Your Back Up</a></li><li><a href='http://www.linuxloop.com/2008/10/27/a-story-about-nothing-shuttleworth-says-you-cant-make-money-from-the-linux-desktop/' rel='bookmark' title='Permanent Link: A Story About Nothing: Shuttleworth Says You Can&#039;t Make Money From the Linux Desktop'>A Story About Nothing: Shuttleworth Says You Can&#039;t Make Money From the Linux Desktop</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=SBQDmYji13w:KTMrYV03CD0:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=SBQDmYji13w:KTMrYV03CD0:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=SBQDmYji13w:KTMrYV03CD0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=SBQDmYji13w:KTMrYV03CD0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=SBQDmYji13w:KTMrYV03CD0:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/SBQDmYji13w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/10/10/hulu-desktop-comes-to-linux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/10/10/hulu-desktop-comes-to-linux/</feedburner:origLink></item>
		<item>
		<title>Remotely Accessing Your Linux Computer: Part 4</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/bJ1Fg283IYU/</link>
		<comments>http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 22:34:25 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[Remote Access Linux Tutorial]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2414</guid>
		<description><![CDATA[This is the fourth part in a four part series covering remote access to Linux machines using SSH.

Part 1 &#8211; Installing and configuring SSH
Part 2 &#8211; Securing SSH and opening up to the outside world
Part 3 &#8211; Graphical connections
Part 4 &#8211; Accessing your machine from Windows

Everything in this tutorial should apply to most Linux distributions, [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 3'>Remotely Accessing Your Linux Computer: Part 3</a></li><li><a href='http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 1'>Remotely Accessing Your Linux Computer: Part 1</a></li><li><a href='http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 2'>Remotely Accessing Your Linux Computer: Part 2</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>This is the fourth part in a four part series covering remote access to Linux machines using SSH.</p>
<ul>
<li><a href="http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/" target="_blank">Part 1 &#8211; Installing and configuring SSH</a></li>
<li><a href="http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/" target="_blank">Part 2 &#8211; Securing SSH and opening up to the outside world</a></li>
<li><a href="http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/">Part 3 &#8211; Graphical connections</a></li>
<li><strong>Part 4 &#8211; Accessing your machine from Windows</strong></li>
</ul>
<p>Everything in this tutorial should apply to most Linux distributions, however some of the commands may be specific to Ubuntu. You may need to modify some commands to work with your Linux distribution.  <strong>This is an advanced tutorial, so most instructions will be given as text commands.</strong></p>
<h4>A Note About Security</h4>
<p>Allowing outside machines to access your computer is inherently risky. Assuming your router and/or firewall is properly configured, you will need to poke some holes in it. This potentially leaves you vulnerable to attack. <strong>Proceed at your own risk. Because security is a constantly changing issue, you are responsible for securing your own computer and network. You have been warned.</strong> If you are not behind a router or other physical firewall and you can&#8217;t explain why this is the case, do not proceed.</p>
<h4>Introduction</h4>
<p>You&#8217;ll be glad to know that this step is the easiest of them all. If you&#8217;ve made it this far, you have already done the hard part.</p>
<h4>Downloading PuTTY</h4>
<p>There are probably thousands of different SSH clients for Windows, but the most popular of these is a program called PuTTY. It&#8217;s a free download and requires no installation, which means you should be able to run it off a flash drive. (Naturally, it&#8217;s also open-source and released under the MIT license.) Go ahead and <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">download PuTTY</a>. (Look for putty.exe)</p>
<h4>Trying it out</h4>
<div id="attachment_2415" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.linuxloop.com/wp-content/uploads/2009/10/putty_example.jpg"><img class="size-medium wp-image-2415" title="PuTTY Connection Example" src="http://www.linuxloop.com/wp-content/uploads/2009/10/putty_example-300x290.jpg" alt="Just fill in two fields." width="300" height="290" /></a><p class="wp-caption-text">Just fill in two fields.</p></div>
<p>Just double-click on putty.exe and fill out the Host Name and Port fields. Your host name should be:</p>
<blockquote><p><em>username</em>@<em>dyndnsuser</em>.dyndns.com</p></blockquote>
<p>(Where <em>username</em> is your computer username and <em>dyndnsuser</em> is your DynDNS user account.)</p>
<p>Then just enter the port number you set in part 1 and 2.</p>
<p>Click Open and say yes to the RSA key dialog. You&#8217;re in!</p>
<h4>Conclusion</h4>
<p>Wow! That was a lot easier than the other steps. This concludes the series, so have fun with SSH.</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 3'>Remotely Accessing Your Linux Computer: Part 3</a></li><li><a href='http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 1'>Remotely Accessing Your Linux Computer: Part 1</a></li><li><a href='http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 2'>Remotely Accessing Your Linux Computer: Part 2</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=bJ1Fg283IYU:9XdyahykV6U:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=bJ1Fg283IYU:9XdyahykV6U:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=bJ1Fg283IYU:9XdyahykV6U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=bJ1Fg283IYU:9XdyahykV6U:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=bJ1Fg283IYU:9XdyahykV6U:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/bJ1Fg283IYU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/</feedburner:origLink></item>
		<item>
		<title>Remotely Accessing Your Linux Computer: Part 3</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/05PdMPremkc/</link>
		<comments>http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 18:00:05 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[Remote Access Linux Tutorial]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2400</guid>
		<description><![CDATA[This is the second part in a four part series covering remote access to Linux machines using SSH.

Part 1 &#8211; Installing and configuring SSH
Part 2 &#8211; Securing SSH and opening up to the outside world
Part 3 &#8211; Graphical connections
Part 4 &#8211; Accessing your machine from Windows

Everything in this tutorial should apply to most Linux distributions, [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 4'>Remotely Accessing Your Linux Computer: Part 4</a></li><li><a href='http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 2'>Remotely Accessing Your Linux Computer: Part 2</a></li><li><a href='http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 1'>Remotely Accessing Your Linux Computer: Part 1</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>This is the second part in a four part series covering remote access to Linux machines using SSH.</p>
<ul>
<li><a href="http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/" target="_blank">Part 1 &#8211; Installing and configuring SSH</a></li>
<li><a href="http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/" target="_blank">Part 2 &#8211; Securing SSH and opening up to the outside world</a></li>
<li><strong>Part 3 &#8211; Graphical connections</strong></li>
<li><a href="http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/" target="_blank">Part 4 &#8211; Accessing your machine from Windows</a></li>
</ul>
<p>Everything in this tutorial should apply to most Linux distributions, however some of the commands may be specific to Ubuntu. You may need to modify some commands to work with your Linux distribution.  <strong>This is an advanced tutorial, so most instructions will be given as text commands.</strong></p>
<h4>A Note About Security</h4>
<p>Allowing outside machines to access your computer is inherently risky. Assuming your router and/or firewall is properly configured, you will need to poke some holes in it. This potentially leaves you vulnerable to attack. <strong>Proceed at your own risk. Because security is a constantly changing issue, you are responsible for securing your own computer and network. You have been warned.</strong> If you are not behind a router or other physical firewall and you can&#8217;t explain why this is the case, do not proceed.</p>
<h4>Introduction</h4>
<p>You&#8217;ll be glad to know that the graphical piece is actually a lot easier than the first two parts. It&#8217;s really just a few configuration changes and that&#8217;s it.</p>
<h4>On the server end</h4>
<p>Open your <em>/etc/ssh/sshd_config</em> file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gksudo gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh<span style="color: #000000; font-weight: bold;">/</span>sshd_config</pre></div></div>

<p>Then make sure that <em>X11Forwarding</em> is set to on and both of the lines below are uncommented (meaning that they do not have a # in front on them:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">X11Forwarding <span style="color: #c20cb9; font-weight: bold;">yes</span>
X11DisplayOffset <span style="color: #000000;">10</span></pre></div></div>

<p>That&#8217;s it on the server end!</p>
<h4>On whatever computer your using&#8230;.</h4>
<p>You may also need to change some settings on the computer from which you are connecting. Open your <em>/etc/ssh/ssh_config</em> file. Notice the subtle difference between <em>ssh<strong>d</strong>_config</em> and <em>ssh_config</em>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gksudo gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh<span style="color: #000000; font-weight: bold;">/</span>ssh_config</pre></div></div>

<p>Then you need to make sure that these lines are uncommented:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ForwardAgent <span style="color: #c20cb9; font-weight: bold;">yes</span>
ForwardX11 <span style="color: #c20cb9; font-weight: bold;">yes</span>
ForwardX11Trusted <span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div>

<h4>Trying it out&#8230;</h4>
<p>Now try connecting again:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-X</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>port number<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>username<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;@&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>dyndns username<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>.dyndns.com</pre></div></div>

<p>Then just type the name of a graphical application:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gnomine</pre></div></div>

<p>Just take a moment to think about how cool it is that you&#8217;re running Gnome Mines graphically across the internet from a different computer.</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 4'>Remotely Accessing Your Linux Computer: Part 4</a></li><li><a href='http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 2'>Remotely Accessing Your Linux Computer: Part 2</a></li><li><a href='http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 1'>Remotely Accessing Your Linux Computer: Part 1</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=05PdMPremkc:8ckSEt-85iU:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=05PdMPremkc:8ckSEt-85iU:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=05PdMPremkc:8ckSEt-85iU:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=05PdMPremkc:8ckSEt-85iU:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=05PdMPremkc:8ckSEt-85iU:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/05PdMPremkc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/</feedburner:origLink></item>
		<item>
		<title>Remotely Accessing Your Linux Computer: Part 2</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/DRkfKzTpRgU/</link>
		<comments>http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 18:00:06 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[Remote Access Linux Tutorial]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2390</guid>
		<description><![CDATA[This is the second part in a four part series covering remote access to Linux machines using SSH.
(Sorry this one was a little late. I just forgot to publish it. I&#8217;ll post the last two sooner.)

Part 1 &#8211; Installing and configuring SSH
Part 2 &#8211; Securing SSH and opening up to the outside world
Part 3 &#8211; [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 1'>Remotely Accessing Your Linux Computer: Part 1</a></li><li><a href='http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 3'>Remotely Accessing Your Linux Computer: Part 3</a></li><li><a href='http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 4'>Remotely Accessing Your Linux Computer: Part 4</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>This is the second part in a four part series covering remote access to Linux machines using SSH.</p>
<p><em>(Sorry this one was a little late. I just forgot to publish it. I&#8217;ll post the last two sooner.)</em></p>
<ul>
<li><a href="http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/" target="_blank">Part 1 &#8211; Installing and configuring SSH</a></li>
<li><strong>Part 2 &#8211; Securing SSH and opening up to the outside world</strong></li>
<li><a href="http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/" target="_blank">Part 3 &#8211; Graphical connections</a></li>
<li><a href="http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/" target="_blank">Part 4 &#8211; Accessing your machine from Windows</a></li>
</ul>
<p>Everything in this tutorial should apply to most Linux distributions, however some of the commands may be specific to Ubuntu. You may need to modify some commands to work with your Linux distribution.  <strong>This is an advanced tutorial, so most instructions will be given as text commands.</strong></p>
<h4>A Note About Security</h4>
<p>Allowing outside machines to access your computer is inherently risky. Assuming your router and/or firewall is properly configured, you will need to poke some holes in it. This potentially leaves you vulnerable to attack. <strong>Proceed at your own risk. Because security is a constantly changing issue, you are responsible for securing your own computer and network. You have been warned.</strong> If you are not behind a router or other physical firewall and you can&#8217;t explain why this is the case, do not proceed. I would also advise you to only try this on your home network, because your employer will probably dislike you messing with SSH, unless, of course, that&#8217;s your job.</p>
<h4>Security First</h4>
<p>There are some security tweaks you can make to your <em>/etc/ssh/sshd_config</em> file. There are, of course, tons and tons of tweaks you can make. A complete guide to the OpenSSH configuration file is way, way beyond this guide, but I&#8217;ll cover a few things you can do:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Port <span style="color: #000000;">4005</span> <span style="color: #666666; font-style: italic;"># Only listen on port 4005</span>
          <span style="color: #666666; font-style: italic;"># 4005 is just an example, this can be anything roughly between 1500 and 5000</span></pre></div></div>

<p>This was discussed in part 1, so I suggest you read that. The basic lesson is that you probably shouldn&#8217;t use port 22 (the default).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ListenAddress 192.168.1.175 <span style="color: #666666; font-style: italic;"># Only listen on network interfaces with the IP 192.168.1.175</span></pre></div></div>

<p>What this line says is to only listen on network connections where your computer&#8217;s IP is, in this case, 192.168.1.175. This is useful for a number of reasons. For example, if you have multiple network connections (such as an ethernet connection and a WiFi connection), you could tell SSH to only work on one of those connections. Also, if you were at a coffee shop or some other public WiFi, you would probably not have the same IP address that you do on your own network (depending on your network&#8217;s configuration). Basically, it&#8217;s just a generally good idea to specify what IP address SSH should listen on. Getting your IP address was also covered in part 1. The quick version is that executing <em>ifconfig</em> should tell you.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Protocol <span style="color: #000000;">2</span> <span style="color: #666666; font-style: italic;"># Only allow logins using SSH 2</span></pre></div></div>

<p>There are two versions of the SSH protocol. SSH 1 is old and potentially insecure. Make sure you are only allowing protocol 2 with the line above. This should really already be in your default configuration, but if it isn&#8217;t, add it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">PermitRootLogin no</pre></div></div>

<p>Once again, this is pretty straight-forward and is probably already in your configuration. You shouldn&#8217;t usually login to root locally, so why would you let remote users login to root? You can still sudo or whatever.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">AllowUsers thomas <span style="color: #666666; font-style: italic;"># Only allow thomas to login</span></pre></div></div>

<p>This option allows you to specify which user(s) should be allowed to login via SSH. You may or may not want to add this, but if your only going to login with one account, it adds a small extra layer of security.</p>
<p>It is worth noting that a lot of these configurations are purely security through obscurity. Contrary to what some people say, I don&#8217;t believe there is anything wrong with that, as long as it&#8217;s not your only defense.</p>
<h4>Getting our of your local network</h4>
<p>Time to access your computer across the internet. I&#8217;ll warn you about the risks again:</p>
<p>A properly configured home router should usually pretend not to exist by giving no reply to unsolicited communications from the outside. In other words, if I try to talk to your router without your router talking to my server, you router should ignore me as if no one was there. This gives you great security, since if no one knows you are there, it&#8217;s hard to attack you. (This does not, of course, have any effect on malware spread by email, the web, chat programs, etc.) Allowing your computer to be remotely accessed over the internet cuts a hole in that anonymity. Your router will have to start replying to requests on a particular port. This is dangerous, but not too dangerous as long as your securing everything correctly. (You can test how your router is configured with <a href="https://www.grc.com/x/ne.dll?bh0bkyd2">GRC&#8217;s SheildsUP!</a> tool.)</p>
<h4>Getting a consistent IP address</h4>
<p>The first step is to make sure that your computer always gets the same IP address. If you are using DHCP, and you probably are, then your computer will get a different IP address ever time you get on your network, usually in the range of 192.168.1.100 to 192.168.1.150 or so. You need to setup something called a static lease in which one computer, identified by a MAC address and a hostname, always gets the same IP address.</p>
<p>This is a completely router specific process, so I can&#8217;t help you much. Unfortunately, some routers don&#8217;t even support this feature. Usually by installing a custom firmware like <a href="http://www.dd-wrt.com/dd-wrtv3/index.php">DD-WRT</a>, you can get the feature even if your router doesn&#8217;t support it. Chadwick Wachs has <a href="http://www.wachs.org/node/21">an excellent tutorial for setting up static leases in DD-WRT</a>, which should help you.</p>
<h4>From your router to your computer</h4>
<p>Next, we need to redirect traffic from your router, which is the only place an external computer can connect to, to your computer. This feature is support by almost ever router, so don&#8217;t work. It&#8217;s fairly simple, too.</p>
<p>Again, this is router specific, but you can find specific instructions for many routers on <a href="http://www.portforward.com/">PortForward.com</a>. Remember to replace port 22 with whatever port you choose in part 1.</p>
<h4>To your router</h4>
<p>Don&#8217;t worry, your almost there! The final step is to find a way to track your router&#8217;s changing IP address. (Yes, that changes too.)</p>
<p>Without paying your ISP extra, you can&#8217;t usually get a static IP for your router. Luckily, services like <a href="http://www.dyndns.com/">DynDNS.com</a> (a free account is plenty) will give you a free subdomain that points to your router. For example:</p>
<p><em>username.dyndns.com</em> would point to your routers IP</p>
<p>In order to get the IP to update, you need to enter your DynDNS account into your router settings. Once again, this is router specific, but look for a DDNS section in your router configuration.</p>
<h4>All done</h4>
<p>Ok. If you&#8217;ve made it this far, congratulations! You should now be able to access your computer from any other computer on the internet (with an SSH client, of course), using this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>port number<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>username<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;@&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>dyndns username<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>.dyndns.com</pre></div></div>

<p>Good luck!</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 1'>Remotely Accessing Your Linux Computer: Part 1</a></li><li><a href='http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 3'>Remotely Accessing Your Linux Computer: Part 3</a></li><li><a href='http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 4'>Remotely Accessing Your Linux Computer: Part 4</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=DRkfKzTpRgU:AkrZQoeaSS4:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=DRkfKzTpRgU:AkrZQoeaSS4:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=DRkfKzTpRgU:AkrZQoeaSS4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=DRkfKzTpRgU:AkrZQoeaSS4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=DRkfKzTpRgU:AkrZQoeaSS4:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/DRkfKzTpRgU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/</feedburner:origLink></item>
		<item>
		<title>Coming up: Blog Action Day 2009</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/dmL5ZijdrCs/</link>
		<comments>http://www.linuxloop.com/2009/10/01/coming-up-blog-action-day-2009/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 19:00:04 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[blog action day]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2385</guid>
		<description><![CDATA[Linux Loop will be participating in Blog Action Day 2009. The goal of Blog Action Day is to unite as many bloggers as possible to focus on one cause. This year&#8217;s cause is climate change and the date is October 15th. If your interested in getting involved yourself, check out the BAD website. Otherwise, just [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2008/10/12/blog-action-day-what-are-the-obstacles-to-using-open-source-to-combat-poverty/' rel='bookmark' title='Permanent Link: Blog Action Day: What are the obstacles to using open-source to combat poverty?'>Blog Action Day: What are the obstacles to using open-source to combat poverty?</a></li><li><a href='http://www.linuxloop.com/2009/10/15/blog-action-day-09-lighting-the-world-with-leds/' rel='bookmark' title='Permanent Link: Blog Action Day &#8216;09: Lighting the World with LEDs'>Blog Action Day &#8216;09: Lighting the World with LEDs</a></li><li><a href='http://www.linuxloop.com/2008/10/15/blog-action-day-2008-the-obstacles-to-using-open-source-to-provide-equal-opportunity-and-combat-poverty/' rel='bookmark' title='Permanent Link: Blog Action Day 2008: The Obstacles to Using Open-Source to Provide Equal Opportunity and Combat Poverty'>Blog Action Day 2008: The Obstacles to Using Open-Source to Provide Equal Opportunity and Combat Poverty</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.blogactionday.org"><img class="alignleft" style="border: 0pt none; margin-left: 5px; margin-right: 5px;" src="http://www.blogactionday.org/imgs/badges/bad-300-250.jpg" border="0" alt="" width="300" height="250" /></a>Linux Loop will be participating in Blog Action Day 2009. The goal of Blog Action Day is to unite as many bloggers as possible to focus on one cause. This year&#8217;s cause is climate change and the date is October 15th. If your interested in getting involved yourself, check out the <a href="http://www.blogactionday.org/" target="_blank">BAD website</a>. Otherwise, just look forward to Linux Loop&#8217;s Blog Action Day post on October 15th.</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2008/10/12/blog-action-day-what-are-the-obstacles-to-using-open-source-to-combat-poverty/' rel='bookmark' title='Permanent Link: Blog Action Day: What are the obstacles to using open-source to combat poverty?'>Blog Action Day: What are the obstacles to using open-source to combat poverty?</a></li><li><a href='http://www.linuxloop.com/2009/10/15/blog-action-day-09-lighting-the-world-with-leds/' rel='bookmark' title='Permanent Link: Blog Action Day &#8216;09: Lighting the World with LEDs'>Blog Action Day &#8216;09: Lighting the World with LEDs</a></li><li><a href='http://www.linuxloop.com/2008/10/15/blog-action-day-2008-the-obstacles-to-using-open-source-to-provide-equal-opportunity-and-combat-poverty/' rel='bookmark' title='Permanent Link: Blog Action Day 2008: The Obstacles to Using Open-Source to Provide Equal Opportunity and Combat Poverty'>Blog Action Day 2008: The Obstacles to Using Open-Source to Provide Equal Opportunity and Combat Poverty</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=dmL5ZijdrCs:S8EyPGIfFNE:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=dmL5ZijdrCs:S8EyPGIfFNE:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=dmL5ZijdrCs:S8EyPGIfFNE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=dmL5ZijdrCs:S8EyPGIfFNE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=dmL5ZijdrCs:S8EyPGIfFNE:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/dmL5ZijdrCs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/10/01/coming-up-blog-action-day-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/10/01/coming-up-blog-action-day-2009/</feedburner:origLink></item>
		<item>
		<title>Remotely Accessing Your Linux Computer: Part 1</title>
		<link>http://feedproxy.google.com/~r/LinuxLoop/~3/_IFHcWYnhH0/</link>
		<comments>http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 18:00:27 +0000</pubDate>
		<dc:creator>LinuxLoop</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[Remote Access Linux Tutorial]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.linuxloop.com/?p=2370</guid>
		<description><![CDATA[This is the first part in a four part series covering remote access to Linux machines using SSH.

Part 1 &#8211; Installing and configuring SSH
Part 2 &#8211; Securing SSH and opening up to the outside world
Part 3 &#8211; Graphical connections
Part 4 &#8211; Accessing your machine from Windows

Everything in this tutorial should apply to most Linux distributions, [...]


Related posts:<ol><li><a href='http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 2'>Remotely Accessing Your Linux Computer: Part 2</a></li><li><a href='http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 3'>Remotely Accessing Your Linux Computer: Part 3</a></li><li><a href='http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 4'>Remotely Accessing Your Linux Computer: Part 4</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>This is the first part in a four part series covering remote access to Linux machines using SSH.</p>
<ul>
<li><strong>Part 1 &#8211; Installing and configuring SSH</strong></li>
<li><a href="http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/" target="_blank">Part 2 &#8211; Securing SSH and opening up to the outside world</a></li>
<li><a href="http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/" target="_blank">Part 3 &#8211; Graphical connections</a></li>
<li><a href="http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/" target="_blank">Part 4 &#8211; Accessing your machine from Windows</a></li>
</ul>
<p>Everything in this tutorial should apply to most Linux distributions, however some of the commands may be specific to Ubuntu. You may need to modify some commands to work with your Linux distribution.  <strong>This is an advanced tutorial, so most instructions will be given as text commands.</strong></p>
<h4>A Note About Security</h4>
<p>Allowing outside machines to access your computer is inherently risky. Assuming your router and/or firewall is properly configured, you will need to poke some holes in it. This potentially leaves you vulnerable to attack. <strong>Proceed at your own risk. Because security is a constantly changing issue, you are responsible for securing your own computer and network. You have been warned.</strong> If you are not behind a router or other physical firewall and you can&#8217;t explain why this is the case, do not proceed. I would also advise you to only try this on your home network, because your employer will probably dislike you messing with SSH, unless, of course, that&#8217;s your job.</p>
<h4>About SSH</h4>
<p>SSH stands for secure shell. It is a protocol that allows you to access a computer across a network. We will use OpenSSH, an implementation of SSH, since it is the default on most Linux systems.</p>
<h4>Installing SSH</h4>
<p>SSH is installed by default on almost every Linux distribution, however there is usually no SSH server, which is required to actually share your machine with SSH. Use your preferred package manager to install <em>openssh-server</em></p>
<p>.sudo apt-get install openssh-server</p>
<p>To check if OpenSSH is running type this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-e</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #c20cb9; font-weight: bold;">ssh</span></pre></div></div>

<p>This command will list all running processes and then filter the list to only display processes that include &#8220;ssh&#8221;. You should see a line like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000;">11032</span> ?        00:00:00 sshd</pre></div></div>

<p>This means that OpenSSH is running. If you don&#8217;t see a line like that, try running this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">ssh</span> start</pre></div></div>

<p>(If two sshd instances are running, it may cause problems. You can usually fix this problem by issuing the command <em>sudo killall sshd</em> followed by <em>sudo /etc/init.d/ssh start</em>.)</p>
<h4>Basic Configuration</h4>
<p>There are two steps to configuring your SSH sever. First you must edit the OpenSSH configuration file, then you have to open a hole in your firewall. To start, open the OpenSSH configuration file, which is usually located in <em>/etc/ssh/sshd_config</em>, with your favorite text editor.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">gksudo gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>ssh<span style="color: #000000; font-weight: bold;">/</span>sshd_config</pre></div></div>

<p>Part 2 of this series will discus more configuration options. For now, most of the default configuration should be fine. The one part that you should change now is the port. Your computer has a bunch of different ports (specifically 65535 of them). Each port is like a door that other computers can knock on. For example, when you visit a website, the request goes out through port 80 and the website comes back in through port 80. The first 1024 ports are reserved for specific protocols. Port 22 happens to be reserved for SSH. It is not advisable, however, to let your SSH server listen on that port, though, because an attacker would most likely be scanning for open port 22&#8217;s. It is best to change the port option in your OpenSSH configuration to a port number greater than 1024 (and less than 65535). This makes it harder for an attacker to guess which door to knock on.  If none of that makes sense, that&#8217;s OK. Just change the number after &#8220;Port&#8221; to a number between 1500 and 5000. While you might be able to use higher numbers, really high port numbers will get you in trouble. See the <a href="http://www.iana.org/assignments/port-numbers" target="_blank">IANA website</a> for more information about port numbering.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># What ports, IPs and protocols we listen for</span>
Port <span style="color: #000000;">4005</span></pre></div></div>

<h4>Opening ports in your software firewall</h4>
<p>Next you need to open whatever port you choose in your software firewall, if you are using one. Most Linux distributions have one installed by default, so if you don&#8217;t know, you probably are using one. Most people should probably install Firestarter, which is a GUI front end to managing IPTables.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> firestarter</pre></div></div>

<p>Open Firestarter and follow the setup wizard. Then click on the Policy tab. Select &#8220;Inbound Traffic Policy&#8221; and click in the box that has &#8220;Allow Service | Port | For&#8221; at the top. Then click on the Add Rule button. Enter the port you choose and SSH as the name. Then select &#8220;Everyone&#8221; and click Add.</p>
<h4>Testing it out</h4>
<p>You are now ready to test it out. Get your IP address on your local network with this command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">ifconfig</span></pre></div></div>

<p>You will need to dig through the output to find your IP address. Here is the relevant piece of the output I see:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> wlan0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 inet addr:<span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>192.168.1.175<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span> Bcast:192.168.1.255 Mask:255.255.255.0</pre></div></div>

<p>Now go to another Linux or Mac OS X computer on the same network. Technically you can use the same computer, but it&#8217;s not as good of a demo. Type this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>port number<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>username<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;@&lt;</span>em<span style="color: #000000; font-weight: bold;">&gt;</span>ip address<span style="color: #000000; font-weight: bold;">&lt;/</span>em<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>For example, I would type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-p</span> <span style="color: #000000;">4005</span> thomas<span style="color: #000000; font-weight: bold;">@</span>192.168.1.175</pre></div></div>

<p>You may get a message about the server&#8217;s RSA key. This is normal and typing yes will bypass the message. Then you should get a prompt for your password. Enter your password and you will be inside your other machine.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> Are you sure you want to <span style="color: #7a0874; font-weight: bold;">continue</span> connecting <span style="color: #7a0874; font-weight: bold;">&#40;</span>yes<span style="color: #000000; font-weight: bold;">/</span>no<span style="color: #7a0874; font-weight: bold;">&#41;</span>? <span style="color: #c20cb9; font-weight: bold;">yes</span> Warning: Permanently added <span style="color: #ff0000;">'192.168.1.175'</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>RSA<span style="color: #7a0874; font-weight: bold;">&#41;</span> to the list of known hosts. thomas<span style="color: #000000; font-weight: bold;">@</span>192.168.1.175<span style="color: #ff0000;">'s password:</span></pre></div></div>

<h4>Wrapping up</h4>
<p>Congratulations! SSH is up and running. Part 2 will teach you how to access your computer from another computer across the internet.</p>


<p>Related posts:<ol><li><a href='http://www.linuxloop.com/2009/10/05/remotely-accessing-your-linux-computer-part-2/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 2'>Remotely Accessing Your Linux Computer: Part 2</a></li><li><a href='http://www.linuxloop.com/2009/10/07/remotely-accessing-your-linux-computer-part-3/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 3'>Remotely Accessing Your Linux Computer: Part 3</a></li><li><a href='http://www.linuxloop.com/2009/10/10/remotely-accessing-your-linux-computer-part-4/' rel='bookmark' title='Permanent Link: Remotely Accessing Your Linux Computer: Part 4'>Remotely Accessing Your Linux Computer: Part 4</a></li></ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=_IFHcWYnhH0:K0kRftKZr18:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=_IFHcWYnhH0:K0kRftKZr18:D7DqB2pKExk" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=_IFHcWYnhH0:K0kRftKZr18:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxLoop?a=_IFHcWYnhH0:K0kRftKZr18:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxLoop?i=_IFHcWYnhH0:K0kRftKZr18:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxLoop/~4/_IFHcWYnhH0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		<feedburner:origLink>http://www.linuxloop.com/2009/09/28/remotely-accessing-your-linux-computer-part-1/</feedburner:origLink></item>
	</channel>
</rss>
