<?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>Ivan Villareal &#187; Mount a remote filesystem using sshfs &#8211; Ivan Villareal</title>
	<atom:link href="http://ivanvillareal.com/tag/sshfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://ivanvillareal.com</link>
	<description>IT stuff and more...</description>
	<lastBuildDate>Tue, 01 Nov 2011 23:00:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Mount a remote filesystem using sshfs</title>
		<link>http://ivanvillareal.com/linux/mount-a-remote-filesystem-using-sshfs/</link>
		<comments>http://ivanvillareal.com/linux/mount-a-remote-filesystem-using-sshfs/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 19:25:39 +0000</pubDate>
		<dc:creator>Ivan Villareal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshfs]]></category>

		<guid isPermaLink="false">http://ivanvillareal.com/?p=82</guid>
		<description><![CDATA[I often have to upload files to several servers, and some of them doesn&#8217;t have an rsync or ftp server, so if I&#8217;m going to make a deployment, I have [...]]]></description>
			<content:encoded><![CDATA[<p>I often have to upload files to several servers, and some of them doesn&#8217;t have an rsync or ftp server, so if I&#8217;m going to make a deployment, I have to use scp, or sftp to upload the files.</p>
<p>This works well when I need to make a quick change or test 1 file, but If I have to synchronize several files it is a very time consuming task.</p>
<p>So what I use in this cases is <a title="This is a filesystem client based on the SSH File Transfer Protocol." href="http://fuse.sourceforge.net/sshfs.html" target="_blank">sshfs</a>&nbsp;it is a pretty cool tool, to allow me to mount any filesystem so I can use any rsync on a remote server&nbsp;without&nbsp;dealing with opening ports configure, the server or do other stuff,</p>
<p>Gentoo is my main OS, so it was really easy to have this working, I had to reconfigure the kernel to support fuse</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Symbol: FUSE_FS [=m]
Location:
  -&gt; File systems
      -&gt; Filesystem in Userspace support</pre></div></div>

<p>and after this was ready I only installed sys-fs/sshfs-fuse</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>I<span style="color: #7a0874; font-weight: bold;">&#93;</span> sys-fs<span style="color: #000000; font-weight: bold;">/</span>sshfs-fuse
     Available versions:  <span style="color: #000000;">1.9</span> ~<span style="color: #000000;">2.1</span> <span style="color: #000000;">2.2</span>
     Installed versions:  <span style="color: #000000;">2.2</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">12</span>:<span style="color: #000000;">33</span>:09 PM 09<span style="color: #000000; font-weight: bold;">/</span>08<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2009</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
     Homepage:            http:<span style="color: #000000; font-weight: bold;">//</span>fuse.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>sshfs.html
     Description:         Fuse-filesystem utilizing the sftp service.</pre></div></div>

<p>when it was ready I did the following to mount the remote filesystem:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ivan<span style="color: #000000; font-weight: bold;">@</span>gondor ~ $ sshfs phpfix<span style="color: #000000; font-weight: bold;">@</span>prestant.citizenhawk.net: preasent<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>After this I&#8217;m able to use the remote file system as usual.</p>
]]></content:encoded>
			<wfw:commentRss>http://ivanvillareal.com/linux/mount-a-remote-filesystem-using-sshfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

