Created
February 20, 2012 18:21
-
-
Save fduran/1870471 to your computer and use it in GitHub Desktop.
Linux SSH Filesystem
This file contains 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
# Use SSH filesystem to mount locally a remote directory through SSH | |
# www.fduran.com | |
# at local server: | |
apt-get update; apt-get install sshfs | |
mkdir /path/to/local/dir | |
# Mounting -persists on logout- (for other ssh port add: -p port): | |
sshfs remoteserver.example.com:/path/to/remote/dir /path/to/local/dir | |
# Unmounting: | |
fusermount -u /path/to/local/dir | |
# or | |
umount /path/to/local/dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment