4

How to use sshfs on cygwin? Direct way does not work:

$ apt-cyg install sshfs
Installing sshfs
Unable to locate package sshfs
6

You might want to look at https://github.com/billziss-gh/sshfs-win

which provides a way to map sshfs drives in windows. If you are using cygwin, you are on windows. Ironically, this port of sshfs to windows uses cygwin dll underneath the covers for POSIX stuff.

After installing sshfs-win, from cygwin bash you should be able to use the windows net use command as per the sshfs-win documentation.

A kludgy method but it would avoid trying to build sshfs under cygwin.

1
5

sshfs is not a Cygwin package. You can check this on https://cygwin.com/packages/package_list.html.

To use sshfs, you would follow the installation instructions on the sshfs github page.

https://github.com/libfuse/sshfs/blob/master/README.rst

According to the instructions, you'll also need to install meson and ninja to build the package, as well as libfuse and Glib. These may or may not be in the official packages for Cygwin, you'll have to check, and possibly build those from source as well.

Keep in mind that it could be an exercise in frustration, and it may not be possible.

2
5

There is the win-sshfs. It is not an equivalent of linux sshfs, but it allow to represent remote file system to windows file system. For now install&run proccess looks like the following.

  1. Download and install docany lib v.1.0.3
  2. Download and install win-sshfs (for now it version is 1.6.1.13 devel RC5)
  3. Start C:\Program Files (x86)\WinSshFS\WinSshFS.exe

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.