I am just beginning with git and github, and getting back into the
nasty world of Windows after 5 years with a Mac. I installed the
minimal cygwin/openssh ssh/sftp server (http://
sshwindows.sourceforge.net) on my Windows machine, then the full
("hack on Git") msysGit installer. So now (from my Mac laptop), I
can:
$ ssh [EMAIL PROTECTED]
Last login: Fri Apr 18 12:45:19 2008 from 10.3.111.34
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.
C:\Documents and Settings\user>set
...
HOME=C:\Documents and Settings\user
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\user
...
SHELL=/bin/switch
...
USER=psadmin
USERNAME=psadmin
C:\Documents and Settings\user>cd \msysgit
C:\msysgit>msys
Welcome to msysGit
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
[EMAIL PROTECTED] /usr
$
... and now I'm finally able to enter msys/git commands.
I'd like to skip all these steps and just go from my ssh client right
to the msysgit $ prompt. I guess there are two possibilities:
1. Does msys/mingw/msysgit supply an openssh server? If so, I could
skip the whole cygwin step which seems like a waste.
2. If not, I could configure the cygwin openssh server to start C:
\msysgit\msys.bat on login, but I'm enough of a cygwin/msys/mingw
newbie to not know how to do this. Don't know where the
"authorized_keys" file is (which I could probably use to start an
arbitrary command), nor details of the "/bin/switch.exe" shell that
apparently is started when the cygwin openssh server opens a
connection.
Anyone else using msysgit with an open source ssh server on Windows?