I've got gitosis installed on my own private Ubuntu server. It seems to be working great locally, however whenever I try to run a command from a different machine that talks to the server, I'm getting a "command not found" error.
For example, this works:
e:\src> git --version
git version 1.7.3.1.msysgit.0
However, this doesn't:
e:\SRC\www\listings>git clone git@server:listings
Cloning into listings...
bash: git@server: command not found
fatal: The remote end hung up unexpectedly
Same result for any other command (push, pull, ls-remote, etc) that would talk to the server.
I'm relatively new to git, gitosis, and ubuntu (in case it didn't show :)) so I'm struggling to figure out how to even diagnose this. Any suggestions?
Finally figured it out.. GIT_SSH was set to use plink, however plink was (for some reason) using the defaults set via Putty. So, doing plink git@server was logging in as my default user, not as git. Removing the user and server from the Default Settings in putty resolved the problem.
Awesome way to spend one's day. >:(