Created
July 4, 2013 11:56
-
-
Save fabriceleal/5927077 to your computer and use it in GitHub Desktop.
Mount remote filesystem
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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