6

"Git Bash" is a program that comes with Git for Windows. In order to get to a Git Bash prompt on a remote Windows machine from a linux machine, my usual process is to use remmina to open an RDP connection, then to open a new Git Bash window.

Is there a way to log in using my bash shell instead of having to muck with GUI stuff?

2 Answers2

6

All you need is an ssh server that allows you to define your startup.

For example, freesshd, then set the command shell to the same as your normal git bash shortcut would set it, ( C:\Windows\System32\cmd.exe /c ""C:\Program Files\Git\bin\sh.exe" --login -i" ). Since freesshd can run as a service you'll always be good to go.

Thell
  • 442
5

As far as I know, PowerShell lets you use SSH to log in to the Windows box remotely to access the command line shell...

EDIT I found this PowerShell server (free for personal usage with 1 connection)

ppeterka
  • 694