Skip to content

Instantly share code, notes, and snippets.

@kbcarte
Created November 18, 2021 19:13
Show Gist options
  • Save kbcarte/1816563ee09a3eb1071153a3d291d778 to your computer and use it in GitHub Desktop.
Save kbcarte/1816563ee09a3eb1071153a3d291d778 to your computer and use it in GitHub Desktop.
Mount remote sftp server to local dir

Mounting be explicit with file paths

sshfs <USERNAME>@<SERVER>:/ /home/<PATH TO LOCAL>/ -p 2222

Unmount no trailing slash

fusermount -u ~/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment