Issue running PowerShell code on Windows Machine from Linux machine using Cygwin

Marco Atzeri marco.atzeri@gmail.com
Mon Jul 30 19:47:00 GMT 2018


going back on the mailing list.

Am 30.07.2018 um 17:40 schrieb Shekhar Shukla:
> Hi Marco,
> 
> You are absolutely right. In the second case, I do not see Administrator 
> group which is necessary. Why is it behaving so when user id is same in 
> both the cases? Is there any workaround to get it working?

I assume is due to Windows security setting.
No idea about workaround, may be some other can help
solving it.

> Thanks again.
> 
> Regards,
> Shekhar
> 
> On Mon, Jul 30, 2018 at 5:30 PM, Marco Atzeri  wrote:
> 
>     Am 30.07.2018 um 13:20 schrieb Shekhar Shukla:
> 
>            Hi Team,
> 
>         I am having issue while establishing a ssh connection from Linux
>         to Windows
>         machine using Cygwin. My powershell script works when I run it
>         from Linux
>         using ssh connection(Cygwin) to Windows  and manually enter my
>         passowrd.
>         But whn I use public key to authenticate my user(making a
>         password less
>         connection), it fails. Is it a bug with CYgwin?
> 
>     ...
> 
> 
>         Thanks in advance.
> 
>         Regards,
>         Shekhar
> 
> 
>     try executing "id" in both scenarios
> 
>     I guess in the second one you are lacking some
>     administrative groups
> 
>     Regards
>     Marco
> 
> 


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
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