can't access remote shares when using ssh with rsa key - passwd -R / set(e)uid / LogonUser is not working as expected

Maayan Apelboim Maayan.Apelboim@clarizen.com
Tue Feb 26 13:39:00 GMT 2019


Hi,

I hope I'm mailing the proper mailing list..
I am using password-less ssh login using RSA key to login windows servers from linux.
I've read this article about network shares problems when using RSA key instead password and decided method 2 is most suitable for my case:
https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview

So I ran passwd -R for the relevant user, but still getting 'permission denied' when trying to access network shares.
Tried restarting the ssh service and rebooting the server but it didn't help.

I checked the registry as SYSTEM and I can see my user UID set in the right location.. (at least I think so, cause it doesn't exists in other servers).
So it seems to me like the 'set(e)uid' / 'LogonUser' described in the article doesn't work as expected.

Would appreciate any suggestions.

* Some sensitive data was edited in the cygcheck.out file
* I don't have cygserver installed as a service - I used administrator user and didn't get any errors when running passwd -R

Best regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 43957 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20190226/70f82c5a/attachment.obj>
-------------- next part --------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list