Advanced

Mounting Remote Directories With SSHFS On Ubuntu 11.10

Posted by falko on · 4 comments
HowtoForge; By Falko Timme
Mail this story
Print this story

This tutorial explains how you can mount a directory from a remote server on the local server securely using SSHFS. SSHFS (Secure SHell FileSystem) is a filesystem that serves files/directories securely over SSH, and local users can use them just as if the were local files/directories. On the local computer, the remote share is mounted via FUSE (Filesystem in Userspace). I will use Ubuntu 11.10 for both the local and the remote server.

This tutorial explains how you can mount a directory from a remote server on the local server securely using SSHFS. SSHFS (Secure SHell FileSystem) is a filesystem that serves files/directories securely over SSH, and local users can use them just as if the were local files/directories. On the local computer, the remote share is mounted via FUSE (Filesystem in Userspace). I will use Ubuntu 11.10 for both the local and the remote server.

http://www.howtoforge.com/mounting-remote-directories-with-sshfs-on-ubuntu-11.10

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Ubuntu

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (4)

hooking up my local network via sshfs, instead of using samba (I decided to dump samba). I've been having problems with Samba, especially when transfering large files and other little issues with reliability (interestingly they appear to be similar to the problems that one finds on Windows ... so kudos to the Samba team, your are bug for bug compatable).

So I finally gave up and started using Secure Shell and SSHFS, this move seems to have fixed the issues I was experiencing with Samba. No I think I will go and read the article.
I see Falko is recommending logging in to the remote machine as root. Not a very secure practice.
More secure than nfs, which is what I've been using on my LAN...
I've been using sshfs forever. Love it. My article is better :D http://lxer.com/module/newswire/view/159164/index.html

Except I left out adding your user to the fuse group, oops.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post