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 [2024/09/12 12:57] (current) – Added more helpful information in Windows steps. makelajr | ||
---|---|---|---|
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 39: | Line 41: | ||
{{: | {{: | ||
- | After everything is installed correctly, you should be able to follow the same command-line instructions described in the sections | + | After everything is installed correctly, you should be able to follow the same command-line instructions described in the Linux section |
+ | |||
+ | < | ||
+ | umount ~/mnt/stu | ||
+ | </ | ||
+ | |||
+ | **WARNING FOR EARLY ADOPTERS:** There are [[https:// | ||
+ | |||
+ | ==== Windows ==== | ||
+ | |||
+ | - 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 === | ||
+ | |||
+ | When you are done using the remote filesystem you should unmount it by right clicking the Network drive and selecting " |