From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90006 invoked by alias); 30 Jul 2018 17:27:12 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 89989 invoked by uid 89); 30 Jul 2018 17:27:11 -0000 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 Received: from mail-wr1-f43.google.com (HELO mail-wr1-f43.google.com) (209.85.221.43) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Jul 2018 17:27:10 +0000 Received: by mail-wr1-f43.google.com with SMTP id e7-v6so13735693wrs.9 for ; Mon, 30 Jul 2018 10:27:09 -0700 (PDT) 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== Return-Path: Received: from ?IPv6:::1? (p200300EE63CB230135A566A2DF441211.dip0.t-ipconnect.de. [2003:ee:63cb:2301:35a5:66a2:df44:1211]) by smtp.gmail.com with ESMTPSA id j8-v6sm19158920wrn.50.2018.07.30.10.27.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jul 2018 10:27:07 -0700 (PDT) Subject: Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin To: Shekhar Shukla , "cygwin@cygwin.com" References: <59d985e9-7702-cbdb-8da5-8c825def9064@gmail.com> Reply-To: "cygwin@cygwin.com" From: Marco Atzeri Message-ID: <807e579e-346e-b362-16a3-ec3ae2728e1c@gmail.com> Date: Mon, 30 Jul 2018 19:47:00 -0000 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 X-SW-Source: 2018-07/txt/msg00285.txt.bz2 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