SSHFS installation for Windows 10 relies on 2 open-source software available inGithub.com. This section guides youthrough with the installation.
HEADS UP: Like any other open-source software, they get updatedfrequently. Hence, you will need to search for the latest version rather thanfollow the version numbers specified in this guide.
Download Packages
Mount For Windows We will just provide the IP address or Host name, username and password for the SSHFS mmount. We can also change the drive letter where the remote system will be mount. LEARN MORE What Is mtime In Linux and Find Command? Win-sshfs is a SSH (SFTP) filesystem made using Dokan and SSH.NET library that allows you to mount remote computers via SFTP protocol like windows network drives. The project is currently on hiatus and probably will not have new releases till the end of the year. Free Open Source Windows. Windows下的sshfs-win与Linux下的sshfs原理基本一致,即它们都是建立在用户空间文件系统的基础上的应用。 sshfs将SFTP协议转换为FUSE的接口,FUSE再将这一接口以文件系统的方式暴露给内核;而sshfs-win则将SFTP协议转换为WinFSP(Windows文件系统代理)提供的接口,WinFSP所做. OpenSSH in Windows.; 2 minutes to read; D; E; Q; L; T; In this article. OpenSSH is the open-source version of the Secure Shell (SSH) tools used by administrators of Linux and other non-Windows for cross-platform management of remote systems. OpenSSH has been added to Windows as of autumn 2018, and is included in Windows 10 and Windows Server 2019.
The first thing to do is to download the SSHFS-Win package and its dependencies.
(1) WinFCP
SSHFS-Win requires WinFSP package to work properly. It is available at:https://github.com/billziss-gh/winfsp/releases.
IMPORTANT NOTE: look for the “latest release” (colored in green) version.
(2) SSHFS-Win
Similarly, you need to download sshfs-win package to ensure SSH filesystem isavailable on Windows 10. Download the correct package according to your CPUtype. It is available at:https://github.com/billziss-gh/sshfs-win/releases
IMPORTANT NOTE: look for the “latest release” (colored in green) version.
Installations
Now that you have both install ready, you may proceed to install them. First,you should install SSHFS-Win software.
Firstly: WinFCP
Run the installer and proceed with the installation. There is not much toconfigure.
Then: SSHFS-Win
Once done, you then install SSHFS-Win by running its installer. There is notmuch to configure.
Mounting a Network drive over ssh in Windows using WinFsp & SSHFS-Win
I have computers running both Windows & Linux and at times I need to share files between them and I have been looking for a convenient way to access the files from my Linux machine from my Windows machine without having to run SAMBA on the Linux. This is because historically SAMBA has been a security nightmare and I don’t want to run extra services on the computer if I can avoid it. Earlier this week I finally found a way to mount my Linux directories on Windows as a network mount over SSH using WinFsp & SSHFS-Win and I have been running it for a couple of days so far without any issues. (So far)
Follow these steps to enable SSHFS-Win on your windows machine:
Install WinFsp (Windows File System Proxy)
WinFsp is a set of software components for Windows computers that allows the creation of user mode file systems similar to FUSE (Filesystem in Userspace) in the Unix/Linux world. You can download it from the project’s GIT repository. The Installation file is available by clicking on the download link under ‘Releases’ near the top right corner of the page. The latest version is WinFsp 2020.1 at the time of this writing.
You install the software by running the MSI file you downloaded and the default options worked for me without modification.
Install SSHFS For Windows
SSHFS-Win is a minimal port of SSHFS to Windows. It is available for download from the project’s Git repository. You can compile from source or download the installation file by clicking on the download link under ‘Releases’ near the top right corner of the page. The latest version is SSHFS-Win 2020 at the time of this writing.
Sshfs Windows
Please note that you will need to have WinFsp installed already before you can install SSHFS-Win successfully.
Usage:
Sshfs Manager Windows 10
Once you have installed both the software you can start using them and map a network drive to a directory using Windows Explorer or the net use command. Instructions for use are as below (Taken from the project Documentation):
In Windows Explorer select This PC > Map Network Drive and enter the desired drive letter and SSHFS path using the following UNC syntax:
The first time you map a particular SSHFS path you will be prompted for the SSH username and password which can be saved using the Windows Credential Manager so that you don’t get prompted for it again. In order to unmap the drive, right-click on the drive icon in Windows Explorer and select Disconnect.
Visual demo of how to Map a Network drive using SSHFS-Win
You can map a network drive from the command line as well using the net use command:
You will then be prompted for the password and once you authenticate you can use the new drive as usual. You can unmap the drive as follows:
I find this quite useful and hope you do as well.
Thanks to MakerLab, Department of Computer Science, HKU for pointing me in the correct direction
– Suramya