Jay Taylor's notes

back to listing index


[web search]
Original source (github.com)
Tags: windows sshfs github.com
Clipped on: 2018-06-10
SSHFS For Windows
C Makefile


SSHFS-Win - SSHFS for Windows

SSHFS-Win is a minimal port of SSHFS to Windows. Under the hood it uses Cygwin for the POSIX environment and WinFsp for the FUSE functionality.

How to install

  • Install the latest version of WinFsp.
  • Install the latest version of SSHFS-Win. Choose the x64 or x86 installer according to your computer's architecture.

How to use

Once you have installed WinFsp and SSHFS-Win you can start an SSHFS session to a remote computer using the following syntax:


For example, you can map a network drive to billz@linux-host by using the syntax:


As a more complicated example, you can map a network drive to billz@linux-host at port 9999, but give access rights to the local user billziss by using the syntax:


It is also possible to map the remote root directory by starting the path with a double backslash as in the following example:


You can also mount the remote's root / directory using the following format:


You can use the Windows Explorer "Map Network Drive" functionality or you can use the net use command from the command line.

GUI front end

SiriKali is a GUI front end for SSHFS-Win (and other file systems). Please report problems with SiriKali in its issues page.

Project Organization

This is a very simple project:

  • sshfs is a submodule pointing to the original SSHFS project.
  • sshfs-win.c is a simple wrapper around the sshfs program that is used to implement the "Map Network Drive" functionality.
  • sshfs-win.wxs is a the Wix file that describes the SSHFS-Win installer.
  • patches is a directory with a couple of simple patches over SSHFS.
  • Makefile drives the overall process of building SSHFS-Win and packaging it into an MSI.


SSHFS-Win uses the same license as SSHFS, which is GPLv2+. It interfaces with WinFsp which is GPLv3 with a FLOSS exception.

It also packages the following components:

  • Cygwin: LGPLv3
  • GLib2: LGPLv2
  • SSH: "all components are under a BSD licence, or a licence more free than that"
Press h to open a hovercard with more details.