Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin
- Date: Tue, 31 Jul 2018 13:34:51 +0200
- From: Thomas Wolff <towo@xxxxxxxx>
- Subject: Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin
Am 30.07.2018 um 21:05 schrieb Achim Gratz:
If I setup password-less login to the cygwin ssh server, using
authorized-keys, I can access all remote shares from cygwin,
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
and also from cmd, started from cygwin with `winpty cmd`, for that matter.
Possibly, if the remote login is the first login of the user, the mounts
will just have to be established? (Using `net use`)
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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple