Windows 10 Home and sshfs
Mark Geisert
mark@maxrnd.com
Wed Apr 23 02:31:44 GMT 2025
Hi David,
On 4/22/2025 6:58 PM, David Christensen via Cygwin wrote:
> cygwin:
>> I have SOHO network with a FreeBSD file server:
>> 2025年04月22日 18:55:28 toor@f5 ~
> # freebsd-version ; uname -a
> 13.4-RELEASE-p4
> FreeBSD f5.tracy.holgerdanske.com 13.4-RELEASE-p3 FreeBSD 13.4-RELEASE-
> p3 GENERIC amd64
>>> I have a Windows 10 Home client with Cygwin:
>> 2025年04月22日 18:03:21 admin@dq67sw ~
> $ uname -a
> CYGWIN_NT-10.0-19045 dq67sw 3.6.1-1.x86_64 2025年04月09日 11:31 UTC x86_64
> Cygwin
>>> I can connect from the Windows client to the server via Cygwin ssh(1)
> using pre-shared keys:
>> 2025年04月22日 18:28:49 admin@dq67sw ~
> $ cygcheck -c openssh
> Cygwin Package Information
> Package Version Status
> openssh 10.0p1-1 OK
>> 2025年04月22日 18:49:44 admin@dq67sw ~
> $ ssh dpchrist@f5
>> 2025年04月22日 18:49:50 dpchrist@f5 ~
> $ ls -l /var/local/samba/dpchrist/Downloads/ | head
> total 173
> drwxrwxr-x 26 dpchrist dpchrist 26 Apr 15 10:07 a
> drwxrwxr-x 8 dpchrist dpchrist 8 Apr 7 08:37 b
> drwxrwxr-x 14 dpchrist dpchrist 14 Apr 7 08:37 c
> drwxrwxr-x 8 dpchrist dpchrist 8 Apr 7 08:37 d
> drwxrwxr-x 8 dpchrist dpchrist 8 Apr 7 08:37 e
> drwxrwxr-x 9 dpchrist dpchrist 9 Apr 7 08:37 f
> drwxrwxr-x 9 dpchrist dpchrist 9 Oct 10 2024 g
> drwxrwxr-x 14 dpchrist dpchrist 14 Apr 7 08:37 h
> drwxrwxr-x 10 dpchrist dpchrist 10 Apr 7 08:37 i
>> 2025年04月22日 18:49:55 dpchrist@f5 ~
> $ exit
> logout
> Connection to f5 closed.
>>> I would like to use Cygwin sshfs(1) to mount a server directory onto the
> Windows client:
>> 2025年04月22日 18:08:45 admin@dq67sw ~
> $ cygcheck -c sshfs
> Cygwin Package Information
> Package Version Status
> sshfs 3.7.2-2 OK
>>> RTFM the Cygwin package "sshfs":
>> https://cygwin.com/cygwin/packages/summary/sshfs.html
>>> I have downloaded the WinFsp installer:
>> https://winfsp.dev/rel/
>> winfsp-2.0.23075.msi
>>> I have run the WinFsp installer, leaving component selections at default:
>> WinFsp
> Core
> -> Will be installed on local hard drive
Looks good.
> I have restarted the Windows client.
>>> When I use Cygwin sshfs(1) to mount the file server directory onto the
> Windows client, the directory is not mounted and there are no error
> messages:
>> 2025年04月22日 18:35:51 admin@dq67sw ~
> $ sshfs dpchrist@samba:/var/local/samba/dpchrist /samba
>> 2025年04月22日 18:39:27 admin@dq67sw ~
> $ ls -l /samba
> total 0
>>> As a sanity check, sshfs(1) works correctly on a Debian GNU/Linux client.
A peculiarity of Cygwin sshfs on Windows is that the directory being
mounted on ('/samba' in your case) must not exist before starting sshfs.
If that doesn't help, please do
echo $?
cat /var/run/fuse.mounts
right after trying to start sshfs and post the results here.
..mark
More information about the Cygwin
mailing list