sshfs
Copy the link for the latest version of fuse at http://fuse.sourceforge.net/
wget it
wget http://sourceforge.net/projects/fuse/files/fuse-2.X/2.8.7/fuse-2.8.7.tar.gz
untar
tar zxf fuse-2.8.7.tar.gz
cd into the dir
cd fuse-2.8.7be root
sudo suor
su -configure, make, make install
./configure;make;make install
give some libs
echo '/usr/local/lib' > /etc/ld.so.conf.d/fuse.conf
ldconfig
ldconfig
grab sshfs from http://fuse.sourceforge.net/sshfs.html and wget the stable
wget http://sourceforge.net/projects/fuse/files/sshfs-fuse/2.4/sshfs-fuse-2.4.tar.gz
untar
tar zxf sshfs-fuse-2.4.tar.gz
Do all the makes!
cd sshfs-fuse-2.4 ./configure;make;make install
Turns out we have some prerequisits
Error:
No package 'glib-2.0' found No package 'gthread-2.0' found
Fixes
yum install glib2-devel
now rerun the makes!
./configure;make;make install
Good to go! Now make the mount point
mkdir /mnt/yourmom.com
Done and done.
Switch back to your normal user(or if only root you may need to add /usr/local/bin/ to your path or call sshfs using the direct path) now we can mount a remote filesystem using this syntax
sshfs [email protected]:/media/megabiglife /mnt/yourmom.comYou will then be prompted for the password on the remote host. Some people prefer passwordless authentication using keys, if you are looking for this, I suggest checking here http://lmgtfy.com/?q=how+to+set+up+ssh+keys In my case, the ssh server at the remote host is running on a custom port, if anyone cares, break the logical protocol and add the port number after the sshfs command
sshfs -p 1234 user@hostname:/media/megabiglife /mnt/yourmom.com
To un mount run
umount /mnt/yourmom.com
In case it wasn’t obvious, you should replace the username and hostname fields when using this tutorial. I do like the idea of yourmom.com and megabiglife mounts so that is optional.