Skip to content

Instantly share code, notes, and snippets.

@KavenTheriault
Created August 20, 2017 22:12
Show Gist options
  • Save KavenTheriault/e3fe33f09ffa3a43c96d9a6a2bf699b3 to your computer and use it in GitHub Desktop.
Save KavenTheriault/e3fe33f09ffa3a43c96d9a6a2bf699b3 to your computer and use it in GitHub Desktop.
Mount remote drive via SSH

Mount remote drive via SSH

sshfs -o allow_other {user}@{ip}:{remote_dir} {local_dir}

allow_other => Allow other users than the mounter (i.e. root) to access the share.

sudo mkdir /mnt/chicago_vps
sudo sshfs -o allow_other [email protected]:/ /mnt/chicago_vps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment