Skip to content

Instantly share code, notes, and snippets.

@fabriceleal
Created July 4, 2013 11:56
Show Gist options
  • Save fabriceleal/5927077 to your computer and use it in GitHub Desktop.
Save fabriceleal/5927077 to your computer and use it in GitHub Desktop.
Mount remote filesystem
# Ensure you have openssh-server on the remote host and sshfs on the client host
### On the remote
# https://help.ubuntu.com/10.04/serverguide/openssh-server.html
sudo apt-get install openssh-server
### On the client
# http://www.howtogeek.com/howto/ubuntu/how-to-mount-a-remote-folder-using-ssh-on-ubuntu/
# http://www.linuxnix.com/2011/03/mount-directory-locally-linux-sshfs.html
sudo apt-get install sshfs
sudo modprobe fuse
mkdir ~/remoteserv
sshfs <username>@<ipaddress>:/remotepath ~/remoteserv
# Done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment