Cygwin SSHD session unable to access cloud/OneDrive files
Shaddy Baddah
lithium-cygwin@shaddybaddah.name
Thu Apr 3 23:02:41 GMT 2025
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
More information about the Cygwin
mailing list