Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

"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?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

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)

share|improve this answer
    
The original question is specific in asking about using the msysgit bash shell... –  Thell Oct 25 '12 at 18:51
1  
@Thell: What keeps one from starting the git bash shell from Powershell? BTW your solution does exactly the same: log in through SSH of some kind, then start the git bash shell. But not the second step was the tough one, IMHO. –  ppeterka Oct 25 '12 at 18:52
    
Good point. Nothing at all. –  Thell Oct 25 '12 at 18:59
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.