DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 533N3ng33609287 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 533N3ng33609287 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=Z/bg5wIf X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8B5163845872 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1743721427; bh=0vwZRkonDo/S+LufL5qoQig6eXCkIb7VakIYBOTmUWQ=; 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=Z/bg5wIfczK/XHSuDpcroi9J782KezUiS0Bgadnh+Om0l/qw9I1WqjJ9+nxO8yNOl rWRb3zJ2jW+yEhW/RFFedM6523ivq3Na8JeeVmqItMbYV3dlSEpKYrv1PsBWrIBI0t PJqPJgI2RG5YkugC0rLKfjd0bh2rEkKHd2bGyy+8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 139073845869 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 139073845869 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743721365; cv=none; b=im8Nd/nLkXfBZ6dUxALKsvqyuwIvfQ1ypAdS/vaKAv2ZL4V0BjzX6/NjAVm6hGLXPANDoPcEuQ0q8SeMvmubaa6ZismA+Hz/M4L9H6ptG0EcrPniOuSZ9s8wPYOo5yn+HdvIW7pptsFfLa0NgQvpvwYf7k1fhyK5YYyEo8XriCA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1743721365; c=relaxed/simple; bh=zfXWtfFPWRRfx2BYTulqttNUepFHS9C8tBcGSljEktE=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=XEdbiAo1q7+w7bNseZntBw7/rVeyELlB31s55C2hiD5N5GY7cjxydePmgGwo5fZU+UjJIQtV+mSNT58V0jjjuidVeEpxtZaN7TWmyDDi+6fW4mIvV2chaLHhFRC8UrtbNpZHyQpYaFA5vgyEd9RrjPtSui/4PdW6sCgjionO8TQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 139073845869 X-Virus-Scanned: Debian amavisd-new at smtp01.aussiebb.com.au Message-ID: <71f5b20c-2070-4adf-bab2-a43d86d20147@shaddybaddah.name> Date: Fri, 4 Apr 2025 10:02:41 +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@> Content-Language: en-US In-Reply-To: <87mscxt9sg.fsf@> 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 533N3ng33609287 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 -- 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