DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5345NZxA3773911 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 5345NZxA3773911 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=DRpj3snT X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C494386F007 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1743744213; bh=67RlYXDsfDrccUdIcsCsjNSRu2xiApl9M466H6sAtDE=; 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=DRpj3snTMjLDvLAM8rbd3CAWeQ6bQANFw1Og/WCAlPUrOar9F0eIV+QdnohsIB5QQ +40VhDo9ZMegpbhgz+RpN3XTawLJyAW5Zb9gH/X71xT8qhPZFSBhP7vnHrJKwo3GyM Ms9Z608LiHIgew5Rg61ygJmDBfhBqI9CuGFHPT9E= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 003C0384B055 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 003C0384B055 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743744190; cv=none; b=PVC8dsSuRds1zJ3OONCNzfRPhiSYKS0lQsRSWNCOAmOhX9uHwEQM4t/L0GlpC61UnSlqpTJ+n+WRWabmgiQ/rkMoUwBLlm6TDaQ8OjDnMo5PS+wjvrCCeCz8J1A5DzAwoSLJZRAP+e7ef5FrvMFdhK2P6zPNHXVdgKVtyMMHumw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743744190; c=relaxed/simple; bh=Mj9dwXx21dkGpnUqZRxD7gdiVp6DufS95j6ZfvAvDcg=; h=Message-ID:Date:MIME-Version:From:Subject:To; b=rz6QGHe3Up5SVdHfFWZWtMjMNkHP10C6L26F12kRUDgX/v9JLDZ/0HvKVN1ahGOXG+r7ZZhaAfEa40lZxcrHMef6QlSKOOHjq+/pIL7kmme943qvLnenGXK1txBCiXNfdfdJjo7m6HPPBj57NSugiPYlJqpGTQamifP7uNffsgM= ARC-Authentication-Results: i=1; server2.sourceware.org X-Virus-Scanned: Debian amavisd-new at smtp01.aussiebb.com.au Message-ID: Date: Fri, 4 Apr 2025 16:23:02 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cygwin SSHD session unable to access cloud/OneDrive files To: cygwin AT cygwin DOT com References: <434339af-faac-4907-a256-db2f321b7c72 AT shaddybaddah DOT name> <87mscxt9sg.fsf@> <71f5b20c-2070-4adf-bab2-a43d86d20147 AT shaddybaddah DOT name> Content-Language: en-US In-Reply-To: <71f5b20c-2070-4adf-bab2-a43d86d20147@shaddybaddah.name> 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: Shaddy Baddah via Cygwin Reply-To: Shaddy Baddah 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 5345NZxA3773911 On 4/04/2025 10:02 am, Shaddy Baddah via Cygwin wrote: > Hi, > > On 4/04/2025 4:49 am, ASSI via Cygwin wrote: >> Shaddy Baddah via Cygwin writes: >>> If I connect an SSH session via the "native" OpenSSH instance >>> integrated into Windows, I can do something like the following to a, >>> at the time, online only, not yet downloaded file, and OneDrive will >>> download it ahead of outputing it: >> […] >>> But if I connect an SSH session via the Cygwin instance running on a >>> different port to 22, it does not trigger the provider to download the >>> file, and I see this error: >> […] >>> The fact that the native SSH session is OK suggests to me that there >>> is some newer type of security token that that service obtains that >>> the Cygwin SSH service does not. But I've not looked into it too hard. >> No, that suggests that you have logged into your SSh session without >> providing a password.  Windows will revoke all network access that >> requires authentication for such sessions. > > Thanks for the reminder, but it's not that. I definitely logged in. > And amazingly, it's more than 20 years ago I was helped on this list > to understand this nuance, I think with regards to running Oracle's > sqlplus command line. Speculating... it appears registry keys for the > sync'ed portions of the filesystem are usually subkeys under > HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/SyncRootManager/ > That suggests tie-in with Explorer... which suggests the Shell > extensions are not active somehow? I speak with complete lack of > authority of course. One thing I could maybe do though, is profile the > forked process layout in Process Explorer, maybe look at which DLLs > are in scope for the relevant shell processes. I don't know how much > that would help. -- Regards, Shaddy > Apologies for the formatting error. Thanks for the reminder, but it's not that. I defintiely logged in. And amazingly, it's more than 20 years ago I was helped on this list to understand this nuance, I think with regards to running Oracle's sqlplus command line. Speculating... it appears registry keys for the sync'ed portions of the filesystem are usually subkeys under HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Explorer/SyncRootManager/ That suggests tie-in with Explorer... which suggests the Shell extensions are not active somehow? I speak with complete lack of authority of course. One thing I could maybe do though, is profile the forked process layout in Process Explorer, maybe look at which DLLs are in scope for the relevant shell processes. -- Regards, Shaddy -- 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