X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=hYZ7S7icZZlL2bnZ MPhGp8He3J5zEiEfOIAMHqDuZQVlnmBmC7lv+9Ew9a/Tyi9Au5dBud65cEUK8IHY 3BCOy3X0QvIrDWrw2QgBZWfOoezgb9B9ftvSJ5z5fdaGfKD3Go1/t+gx/9uBpvBG 0Fp2nw9CbVTpYdmyo3eVBE9QGIw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:reply-to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=T3AxtOf/+z2qURelnGusPN tRdFk=; b=GBRRQC9HYadyMkVgiiNo8tEJBQHMCHh++1Wcl49b6idR6YnTIfE5iP j+sppqtlX9wrIYYv3TNV2NLyGFTAK0uA5tjjl5H3IakXaNPk9fK5Pdpmy/YfQmZe lTFtzyi7EsiUd0k8GAAqYxfv/XMsQg8vRGX2uLyVX1mPCMf3DhQQ8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.8 required=5.0 tests=BAYES_50,FOREIGN_BODY,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=EMail, E-Mail, UD:avast.com, wwwavastcom X-HELO: mail-wr1-f43.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:reply-to:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=6+xPOAnipdy13NSSG6+e6N+4jKWbuY8DhCSXJ/QKn0Q=; b=hBn/6/XjA3LlFR0XhiD06ukg9haTcBrjFQK0MTSSGnQsRMLQsFWIznY7m90YLjF40+ 2EkVotnYozRJRI1TkYIrggR22jiHulroccEtvdbXGazSB2cuJjST3rLx7HJimVBNq2UL uJbpCm9s8/Hiy94PqHAjrRrgDyarePqdhdr6Xpu0TbTVmYYYBZTAp3FahL9qkQIaGCe5 1HOFVcX/MO4ZPl1fWSUv0dbZpassaeRZuVVvzrxvpgNqg63aS/+eb5xIXW5+X1T3vuHR SslzEboAdpt9bsXDdX7oGPWMv5B5KhdH2KD6LHeaBZlFWhsomnHhpCl3l82HKMVewrBw aLog== Subject: Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin To: Shekhar Shukla , "cygwin AT cygwin DOT com" References: <59d985e9-7702-cbdb-8da5-8c825def9064 AT gmail DOT com> Reply-To: "cygwin AT cygwin DOT com" From: Marco Atzeri Message-ID: <807e579e-346e-b362-16a3-ec3ae2728e1c@gmail.com> Date: Mon, 30 Jul 2018 19:27:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes 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