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/05 10:35] – [Windows] mckeanbs | 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 ==== | ==== Linux ==== | ||
- | Most distributions package sshfs in their repositories and installing from there is far easier than compiling it yourself. For Ubuntu/Mint you could run '' | + | Most distributions package |
=== Mounting the remote filesystem === | === Mounting the remote filesystem === | ||
Line 21: | Line 21: | ||
</ | </ | ||
- | Where ''< | + | Where ''< |
- | + | ||
- | See '' | + | |
=== Unmounting the filesystem === | === Unmounting the filesystem === | ||
Line 43: | Line 41: | ||
{{: | {{: | ||
- | After everything is installed correctly, you should be able to follow the same command-line instructions described in the Linux section above. | + | 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 ==== | ==== Windows ==== | ||
- | - Ordered List ItemDownload | + | - Download |
- Download the latest release of SSHFS-Win from here, picking your version' | - Download the latest release of SSHFS-Win from here, picking your version' | ||
- Install WinFsp. The default selection of components can be used. | - Install WinFsp. The default selection of components can be used. | ||
- Install SSHFS-Win, the default options are fine. | - Install SSHFS-Win, the default options are fine. | ||
- | - Right click on computer, and: | + | - In file explorer, right click on computer |
* Select "Map Network Drive" | * Select "Map Network Drive" | ||
* Select a drive letter that is convenient. | * Select a drive letter that is convenient. | ||
Line 57: | Line 61: | ||
* Click finish, and type in your EID password. | * Click finish, and type in your EID password. | ||
- You should now have your stu home directory mounted at the drive letter you specified | - 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 " |