X-Recipient: archive-cygwin@delorie.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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=u4ndj
	eo61pMdHmeSBlo/tCamEE797/+rkkp1FiQFNZgxt2u0hxXSdoDdZuqGNrbc1xyJj
	dseFZ3J7Gog4e2EmLxmY9w0WUbVt5oNhCZlHAuwKaECFwWa828hJQF3IIJK194+H
	eXXT6pr/hOMrVgSUiiKmQr417HR4eDidMsKJsQ=
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:from:to:subject:references:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=rbkbszg9QfO
	3vjMKYug/73SLXVw=; b=p2xinDoDeCXDoKQiokhfFUSauqPHLg/EcI8WRRFa2Ze
	2t4/6oSUJ4lgUhvygHogjdPd0hkA+7fG521B55hU2Pg8dQadHDM5xVF1k4AESkc0
	2YtPCexBQmXzwsVEAd3njxfWVFRAC4SI1nZzOrWL3CS8TUFb7Lnq9iYMpOdmk1gs
	=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=cygwincom, cygwin.com, Achim, achim
X-HELO: vsmx012.vodafonemail.xion.oxcs.net
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin
References: <CAE=7pzxgiLTtoMSKe-9b8wffWH64biOp_QbEhDWNfgDiYg1SgA@mail.gmail.com>
Date: Mon, 30 Jul 2018 21:05:56 +0200
In-Reply-To: <CAE=7pzxgiLTtoMSKe-9b8wffWH64biOp_QbEhDWNfgDiYg1SgA@mail.gmail.com>	(Shekhar Shukla's message of "Mon, 30 Jul 2018 16:50:39 +0530")
Message-ID: <87tvogczmz.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain

Shekhar Shukla writes:
> 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?

No, Windows simply does not give you full access to your normal
privileges when you log in remotely without a password.  Specifically,
you won't be able to access anything that is considered non-local, like
external fileshares.

See: https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview

If you trust the server in question and all its administrators and other
users, you can use "Method 3" as described above.  Don't forget to set
up cygserver if you want to be able to set or change the password with a
non-administrative account.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada

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

