You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's suppose I download and install Git-SCM on a remote windows 10 computer using this installer:
PortableGit-2.33.1-64-bit.7z.exe
I unzip this exe installation file to the directory C:\GitPortable on the computer myserver. Which means on this computer I can start bash from powershell by typing:
PS> $env:path = "C:\PortableGit\usr\bin;$env:path"
PS> bash
dude@myserver ~
$
$ # now i'm at a BASH shell prompt!
Now, for my problem. I want to Enter-PSSession from another computer on my network, and start BASH shell from the remote interactive powershell session. But, it doesn't work even though bash.exe is a command line program. Example:
[myServer]: PS> bash --help
GNU bash, version 4.4.23(1)-release-(x86_64-pc-msys)
Usage: /usr/bin/bash [GNU long option] [option] ...
/usr/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
...
Finally, when i try winpty I get the error:
[myServer]: PS> winpty bash
winpty : stdin is not a tty
+ CategoryInfo : NotSpecified: (stdin is not a tty:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
The text was updated successfully, but these errors were encountered:
Let's suppose I download and install Git-SCM on a remote windows 10 computer using this installer:
PortableGit-2.33.1-64-bit.7z.exe
I unzip this exe installation file to the directory C:\GitPortable on the computer myserver. Which means on this computer I can start bash from powershell by typing:
Now, for my problem. I want to Enter-PSSession from another computer on my network, and start BASH shell from the remote interactive powershell session. But, it doesn't work even though bash.exe is a command line program. Example:
However, bash works if I put "--help":
Finally, when i try winpty I get the error:
The text was updated successfully, but these errors were encountered: