This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin
- From: Shekhar Shukla <shekharshukla4 at gmail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 31 Jul 2018 16:44:50 +0530
- Subject: Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin
- References: <CAE=7pzxgiLTtoMSKe-9b8wffWH64biOp_QbEhDWNfgDiYg1SgA@mail.gmail.com> <59d985e9-7702-cbdb-8da5-8c825def9064@gmail.com> <CAE=7pzwMD3A6cH_=Bduk36RM-RBFuytwkgUZg+03ph6e0_jLpw@mail.gmail.com> <807e579e-346e-b362-16a3-ec3ae2728e1c@gmail.com>
Hello,
I will appreciate any help. Thanks.
On Mon, Jul 30, 2018 at 10:57 PM, Marco Atzeri <marco.atzeri@gmail.com>
wrote:
> 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