Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin

2018-08-01 Thread Achim Gratz
Thomas Wolff writes: > If I setup password-less login to the cygwin ssh server, using > authorized-keys, I can access all remote shares from cygwin, > 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 >

Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin

2018-07-31 Thread Thomas Wolff
Am 30.07.2018 um 21:05 schrieb Achim Gratz: 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

Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin

2018-07-31 Thread Shekhar Shukla
Hello, I will appreciate any help. Thanks. On Mon, Jul 30, 2018 at 10:57 PM, Marco Atzeri wrote: > 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

Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin

2018-07-30 Thread Achim Gratz
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

Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin

2018-07-30 Thread john doe
On 7/30/2018 1:20 PM, Shekhar Shukla wrote: 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

Re: Issue running PowerShell code on Windows Machine from Linux machine using Cygwin

2018-07-30 Thread Marco Atzeri
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?

Issue running PowerShell code on Windows Machine from Linux machine using Cygwin

2018-07-30 Thread 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