Skip to content

Instantly share code, notes, and snippets.

@hugows
Created December 19, 2018 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugows/b61b397e747044828e91e90463277e27 to your computer and use it in GitHub Desktop.
Save hugows/b61b397e747044828e91e90463277e27 to your computer and use it in GitHub Desktop.

Mount your remote server to easily edit files with VSCODE

sudo mkdir /mnt/droplet
sudo sshfs -o allow_other root@xxx.xxx.xxx.xxx:/ /mnt/droplet

To unmount:

sudo umount /mnt/droplet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment