On Apr 4 16:23, Shaddy Baddah via Cygwin wrote: > > 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.
I checked the Windows OpenSSH code and I don't see any relevant difference between the way MSFT OpenSSH uses LsaLogonUser and the way Cygwin does it. If it's using something with Shell Extensions, we're probably out. What you still can do is using password auth the good old Interix way: https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3 Corinna -- 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