Skip to content

Instantly share code, notes, and snippets.

@fernandojunior
Created October 10, 2014 21:10
Show Gist options
  • Save fernandojunior/3130b8de3b1c6f77db10 to your computer and use it in GitHub Desktop.
Save fernandojunior/3130b8de3b1c6f77db10 to your computer and use it in GitHub Desktop.
Virtual ssh directory
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