Mount a Remote SSH Filesystem/Folder Using sshfs in Ubuntu 10.04

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

If you ssh/sftp to your remote machine/server on a regular basis to download/upload files and stuff, then you can save all the hassle by mounting your remote folders on your local machine using sshfs. sshfs does make life really easy, as you can work on the remote files as if they are right there on your local machine. Setting this up is easy too. The approach should work with any major linux distribution (Fedora 13 or Suse etc.) just by suitably replacing the installation command)

Step 1: Download and install sshfs in Ubuntu 10.04 Lucid.

sudo apt-get install sshfs 

in Fedora

yum install sshfs

Step 2: Add yourself to user group fuse, (typically one has to logout and login back for this to work, but in Ubuntu 9.10 it was not needed):

sudo adduser yourusername fuse

Step 3: Make a directory where you want to mount your remote folders.

sudo mkdir /mnt/remotedir
sudo chown yourusername /mnt/remotedir

Step 4: Mount the remote folder and you are done.

sshfs yourusername@remote_computer_ip:/path_on_remote_comp /mnt/remotedir

You might also like

Easily Backup Network Share for Windows 7 in Linux (Ubuntu) While there...
Remote Desktop Connection to Ubuntu from Windows 7 / MacOS / iPhone Remote desktop...
Solution to “fuse failed to open /dev/fuse: Permission Denied” If you are...
Mount Linux NFS Share on Windows 7 One convenient...

About the Author

has written 346 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!


Copyright © 2017 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes