DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53N2WiIt1912003 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53N2WiIt1912003 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=QxgvF3vB X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 555923857BA5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1745375563; bh=ncrWMjGwCRd0Pqg8aZ/R0xyMfPuRcYtNqoVt4SSHZpI=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=QxgvF3vBYjqsnbDj79JLPO04zagWCadaVBXqGC+JKalt0KuUP+0MUs8U8LIWsZgJs e+oLplbWmM2lcQo6S4VUlX/C+fAC3QnNs2wAErdm6gxzShL44qESRR+Cx68a67SLyf PI40txw2ElhvJsLosW7RdTycwtA44/ux+p2cMaQ4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C2CF3857C7F ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5C2CF3857C7F ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745375498; cv=none; b=ZxyrXFuXIfcfgt1ZwGFP4hIMtnURHGBJ9R/Iy/7MAdp5aiBywrH8Yv2pBLtIL3ahCwApOhWWq9ONcF71faKSRkNKUgU9JDkDQYWOqDv/1N4S5nL6Tq3PlGrAzpGo8ZHvLP5e/+ZvH2YSTKgYg5VdMSEzPBQssMBHMyg2+IP81fU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745375498; c=relaxed/simple; bh=C1mKK6kZQ49tx/QjvPaiyfwT5FLl5ukGlLNzXuNsDH4=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=RGmbKIoR93ly3aYWMdy4i96IhDEQVci1WKTrXw4Im/8NABljZdoyttEGtqxfKPGW4zsJtxgYtIDhrPAz+hTrp6cMeLhCOBHyaV3DAui8gsbVB01bBxyiePTD8KignL+gkU3vHzTlpTMeoQ0mU9rqRAstM2EusfnqvjpXHPhUTl8= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C2CF3857C7F Message-ID: Date: Tue, 22 Apr 2025 19:31:44 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Windows 10 Home and sshfs To: cygwin AT cygwin DOT com References: Content-Language: en-US In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mark Geisert via Cygwin Reply-To: Mark Geisert Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 53N2WiIt1912003 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 AT 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 AT 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 AT dq67sw ~ > $ cygcheck -c openssh > Cygwin Package Information > Package              Version    Status > openssh              10.0p1-1       OK > > 2025-04-22 18:49:44 admin AT dq67sw ~ > $ ssh dpchrist AT f5 > > 2025-04-22 18:49:50 dpchrist AT 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 AT 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 AT 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 AT dq67sw ~ > $ sshfs dpchrist AT samba:/var/local/samba/dpchrist /samba > > 2025-04-22 18:39:27 admin AT 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple