<?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>matsu &#187; remote</title>
	<atom:link href="http://mat.su/tag/remote/feed/" rel="self" type="application/rss+xml" />
	<link>http://mat.su</link>
	<description>matsu (n): japanese for pine tree</description>
	<lastBuildDate>Mon, 01 Feb 2010 11:36:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Howto: mounting your Mac filesystem through the internet using SSH</title>
		<link>http://mat.su/howto-mounting-your-mac-filesystem-through-the-internet-using-ssh/</link>
		<comments>http://mat.su/howto-mounting-your-mac-filesystem-through-the-internet-using-ssh/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 00:31:27 +0000</pubDate>
		<dc:creator>Pedro Pinheiro</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[connectivity]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac fuse]]></category>
		<category><![CDATA[mac fusion]]></category>
		<category><![CDATA[macfuse]]></category>
		<category><![CDATA[macfusion]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://mat.su/?p=395</guid>
		<description><![CDATA[This brief tutorial will teach how to mount the entire filesystem of a fixed Mac computer connected to the internet through encrypted SSH so it shows up just like a network drive on any Mac you want, through any internet connection.
I&#8217;ll be talking about the host Mac (the one where the original filesystem resides) as [...]]]></description>
			<content:encoded><![CDATA[<p>This brief tutorial will teach how to mount the entire filesystem of a fixed Mac computer connected to the internet through encrypted SSH so it shows up just like a network drive on any Mac you want, through any internet connection.</p>
<p>I&#8217;ll be talking about the host Mac (the one where the original filesystem resides) as <strong>host</strong>, and the moving Mac as the <strong>client</strong>, where the remote volumes will be read/written from.</p>
<p>Requirements:</p>
<ol>
<li>Make sure you have admin privileges on both the <strong>host</strong> and <strong>client</strong> computers (although running your main account with admin privileges is not advised);</li>
<li>Make sure that on the <strong>host</strong> machine that you&#8217;re either connected directly to the internet and have TCP port 22 not firewalled or you have privileges to reconfigure your internet router to re-route port 22 requests from the internet to the <strong>host </strong>computer;</li>
<li>Make sure that you can access the <strong>host</strong> computer from the internet, either by having a fixed IP address (not normal on domestic aDSL or Cable connections), or by using a free service such as <a title="DynDNS" href="http://www.dyndns.org" target="_blank">DynDns.org</a> (this explanation goes beyond the scope of this howto &#8211; search for the solution for your own router or Mac on the internet);</li>
</ol>
<p>Procedures on the <strong>host</strong> machine:</p>
<ol>
<li>On System Preferences, under &#8220;Internet and Network&#8221; you&#8217;ll find the &#8220;Sharing&#8221; icon, click it;</li>
<li>Under &#8220;Services&#8221;, turn &#8220;Remote Login&#8221; on &#8211; authenticate yourself as necessary beforehand if needed;</li>
<li>Open a terminal window on the same machine, and type ssh yourusername@127.0.0.1 to test if in fact the SSH service has become activated &#8211; follow the instructions;</li>
<li>If the computer is connected directly to the internet, also under &#8220;Sharing&#8221;, you&#8217;ll find the firewall tab, click on the allow column for &#8220;Remote Login &#8211; SSH&#8221;;</li>
<li>Or if you&#8217;re connected to the internet through a router, you&#8217;ll have to look for port mappings or something equivalent on the router, to relay all internet requests for port 22 from the internet to the <strong>host </strong>computer (this explanation goes beyond the scope of this howto &#8211; search for the solution for your own router on the internet).</li>
</ol>
<p>Procedures on the <strong>client</strong> machine:</p>
<p>You will need three pieces of software:</p>
<ul>
<li>MacFUSE &#8211; obtainable <a title="Google's MacFUSE" href="http://code.google.com/p/macfuse/" target="_blank">here</a>;</li>
<li>sshfs &#8211; also obtainable  <a title="Google's MacFUSE" href="http://code.google.com/p/macfuse/" target="_blank">here</a>;</li>
<li>MacFusion &#8211; a wrapper to make everything more user friendly, obtainable <a title="MacFusion" href="http://code.google.com/p/macfusion/downloads/list" target="_blank">here</a>, make sure the version you&#8217;re downloading is compatible with the core version of MacFUSE you obtained (as I&#8217;m writing this, everything is a bit under development, so there are incompatible beta versions floating around)</li>
</ul>
<ol>
<li>Install MacFUSE and reboot, followed by installing sshfs and MacFusion (which in theory don&#8217;t need a system restart to work);</li>
<li>On a terminal window on the <strong>client</strong>, outside from the <strong>host</strong>&#8217;s LAN (i.e., connected through the internet) test first if you can SSH to the <strong>host</strong> machine, by typing <em>ssh username@completedomain.com</em></li>
<li>If you can login into your account, the next step is to fire up MacFusion (which should be located in your Applications folder of your <strong>client</strong> machine</li>
<li>MacFusion is really simple &#8211; preferences are resumed to setting MacFusion to startup itself at boot,  to check for updates to itself on Startup, and what to do when the <strong>client</strong> Mac goes to sleep and resumes.</li>
<li>The only thing missing now is to add, if you wish, the <strong>host</strong> computer to MacFusion&#8217;s favorites list &#8211; you&#8217;ll have to supply the name (whatever you wish), the server (without any &#8220;http&#8221; or similar prefixes), the Port can be left at 22, you can change the Server Path to / if you want for instance to access the &#8220;Volumes&#8221; directory to access any external disks that specific user has access to, and the most likely authentication method you&#8217;ll be using is &#8220;Password&#8221;.</li>
<li>The first time you try to mount (connect to) to the <strong>host</strong>&#8217;s filesystem from the <strong>client</strong> machine, MacFusion will even be nice enough to give you the option to store the password in the Keychain &#8211; this is up to you, if you trust you computing space enough to store passwords or not.</li>
<p>This is it!  If everything worked, you&#8217;ll have a brand new volume on your desktop, that works exactly like a local LAN drive, with the permissions of the user you logged yourself as.  Now you can do backups remotely through the internet, do anything you could do with a local LAN drive, but through a fully encrypted tunnel, and just limited by both the upstream and downstream speeds of both the <strong>host</strong>&#8217;s and <strong>client</strong>&#8217;s machine internet connections.</ol>
]]></content:encoded>
			<wfw:commentRss>http://mat.su/howto-mounting-your-mac-filesystem-through-the-internet-using-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

