Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| student:utilities:sshfs [2020/02/04 14:37] – Add macOS details lam2mo | student:utilities:sshfs [2025/08/21 16:27] (current) – bernstdh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Mounting a Remote Filesystem Locally ===== | ===== Mounting a Remote Filesystem Locally ===== | ||
| - | It can often be beneficial to mount a remote filesystem locally to your computer, allowing you to treat the contents as if they were local to your machine. This would, for example, allow you to use a local IDE to edit/ | + | It can often be beneficial to mount a remote filesystem locally to your computer, allowing you to treat the contents as if they were local to your machine. This would, for example, allow you to use a local IDE to edit/ |
| ==== Prerequisites ==== | ==== Prerequisites ==== | ||
| - SSH access to the server hosting the filesystem you wish to mount. It can be helpful to set up [[student: | - SSH access to the server hosting the filesystem you wish to mount. It can be helpful to set up [[student: | ||
| - | - Install the [[https:// | + | - Install the sshfs client on your local machine. See the appropriate section below for your Operating System. |
| + | |||
| + | ==== Linux ==== | ||
| + | |||
| + | Most distributions package | ||
| - | ==== Mounting the remote filesystem | + | === Mounting the remote filesystem === |
| You must create a local mountpoint before mounting the remote filesystem (this must be done only once). Then the filesystem can be mounted. | You must create a local mountpoint before mounting the remote filesystem (this must be done only once). Then the filesystem can be mounted. | ||
| Line 17: | Line 21: | ||
| </ | </ | ||
| - | Where ''< | + | Where ''< |
| - | See '' | + | === Unmounting the filesystem === |
| - | + | ||
| - | ==== Unmounting the filesystem | + | |
| When you are done using the remote filesystem you should unmount it using the '' | When you are done using the remote filesystem you should unmount it using the '' | ||
| Line 33: | Line 35: | ||
| Download and install both the "FUSE for macOS" and " | Download and install both the "FUSE for macOS" and " | ||
| - | {{: | + | {{: |
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | After everything is installed correctly, you should be able to follow the same command-line instructions described in the Linux section above except that you should use the following command to unmount the remote filesystem: | ||
| + | |||
| + | < | ||
| + | umount ~/mnt/stu | ||
| + | </ | ||
| + | |||
| + | **WARNING FOR EARLY ADOPTERS:** There are [[https:// | ||
| + | |||
| + | ==== Windows ==== | ||
| - | {{:student:utilities:fuse02-ext_blocked.png?400|}} | + | - Download the latest release of WinFsp from here: https:// |
| + | - Download the latest release of SSHFS-Win from here, picking your version' | ||
| + | - Install WinFsp. The default selection of components can be used. | ||
| + | - Install SSHFS-Win, the default options are fine. | ||
| + | - In file explorer, right click on computer (This PC), and: | ||
| + | * Select "Map Network Drive" | ||
| + | * Select a drive letter that is convenient. | ||
| + | * In the folder box, type in the following, substituting your EID: < | ||
| + | * Click finish, and type in your EID password. | ||
| + | - You should now have your stu home directory mounted at the drive letter you specified | ||
| - | {{: | + | === Unmounting the filesystem === |
| - | After everything is installed correctly, | + | When you are done using the remote filesystem you should unmount it by right clicking |
