Created
October 10, 2014 21:10
-
-
Save fernandojunior/3130b8de3b1c6f77db10 to your computer and use it in GitHub Desktop.
Virtual ssh directory
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
mkdir -p /path/to/somewhere/hostbdir | |
sshfs user@hostb:/path/to/some/dir/on/hostb /path/to/somewhere/hostbdir | |
# to unmount it you can do | |
fusermount -u /path/to/somewhere/hostbdir | |
# http://www.linuxquestions.org/questions/linux-software-2/how-does-one-make-a-virtual-ssh-directory-4175424521/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment