From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin
Date: Tue, 31 Jul 2018 01:13:00 -0000 [thread overview]
Message-ID: <87tvogczmz.fsf@Rainer.invalid> (raw)
In-Reply-To: <CAE=7pzxgiLTtoMSKe-9b8wffWH64biOp_QbEhDWNfgDiYg1SgA@mail.gmail.com> (Shekhar Shukla's message of "Mon, 30 Jul 2018 16:50:39 +0530")
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
next prev parent reply other threads:[~2018-07-30 19:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-30 15:53 Shekhar Shukla
[not found] ` <59d985e9-7702-cbdb-8da5-8c825def9064@gmail.com>
[not found] ` <CAE=7pzwMD3A6cH_=Bduk36RM-RBFuytwkgUZg+03ph6e0_jLpw@mail.gmail.com>
2018-07-30 19:47 ` Marco Atzeri
2018-07-31 12:53 ` Shekhar Shukla
2018-07-30 21:47 ` john doe
2018-07-31 1:13 ` Achim Gratz [this message]
2018-07-31 13:20 ` Thomas Wolff
2018-08-01 18:27 ` Achim Gratz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tvogczmz.fsf@Rainer.invalid \
--to=stromeko@nexgo.de \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).