Wiki source code of Manual - Using SSHFS to mount external file systems via SSH
Last modified by Jan Rhebergen on 2022/01/24 15:57
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% class="wikigeneratedid" id="HManual-UsingSSHFStomountexternalfilesystemsviaSSH" %) | ||
| 2 | SSHFS (SSH Filesystem) is a file system client to mount folders and files on a remote server or workstation and communicate with them over a normal ssh connection. Linux and macOS have already implemented it in their file explorers (Nautilus and Finder, respectively). For the Windows platform, there are a number of implementations, both in the commercial sector and in the open source community. This guide describes an open source version known as SSHFS-Win. You need to download and install two programs: WinFsp and SSHFS-Win. After installation, you can mount / map directories from any server that provides an SSH connection service to Windows as a network drive. | ||
| 3 | |||
| 4 | |||
| 5 | |||
| 6 | === **Install WinFsp and SSHFS-Win** === | ||
| 7 | |||
| 8 | Go to the following link: [[__https:~~/~~/github.com/billziss-gh/winfsp/releases/tag/v1.8__>>url:https://github.com/billziss-gh/winfsp/releases/tag/v1.8]] | ||
| 9 | |||
| 10 | Install the latest version of WinFsp. | ||
| 11 | |||
| 12 | Install the latest version of SSHFS-Win, with this link: [[__https:~~/~~/github.com/billziss-gh/sshfs-win/releases__>>url:https://github.com/billziss-gh/sshfs-win/releases]] | ||
| 13 | |||
| 14 | Install the version that matches the operating system; 32-bit or 64-bit. | ||
| 15 | |||
| 16 | If WinFsp and SSHFS-Win are installed, you can map a network drive to a folder on an SSHFS host using Windows Explorer. | ||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | === **File Explorer** === | ||
| 21 | |||
| 22 | This works as follows: Open File Explorer, right click on This PC and choose Map network drive. Choose a station to mount and in the Folder field enter the following: | ||
| 23 | |||
| 24 | ~\~\sshfs\yourRemoteLogin@remoteComputer | ||
| 25 | |||
| 26 | (replace the text after ~\~\ sshfs \ with your own data) | ||
| 27 | |||
| 28 | The first time a particular SSHFS path is assigned, you will be prompted for the SSHFS username and password. Add this information. This is username@dashtools.nl and the obtained password. | ||
| 29 | |||
| 30 | You can then choose to save these login details with Windows Credential Manager, so that this will not be requested again in the future. | ||
| 31 | |||
| 32 | To uninstall the disk, right-click on the disk icon in Windows Explorer and select Disconnect. | ||
| 33 | |||
| 34 | Now the server's file system is available through My Computer via the drive letter that has been chosen. | ||
| 35 | |||
| 36 |