I am having a strange problem with Gitosis and TortoiseGit.
I used the guide How to setup a GIT server with Gitosis and Gitweb to setup Gitosis on my Debian system.
Instead of
ssh-keygen -t rsa
scp /home/myuser/.ssh/id_rsa.pub ${SERVER_IP}:myuser.pub
I used PuTTYgen to generate a public/private keypair for my local Windows 7 computer, uploaded it to my server and initialized the Gitosis (same user: git, without a password) with it.
Now I wanted to clone the administrator repository of Gitosis with TortoiseGit (using my private keyfile, .ppk-file
). It kept asking me for a password for the user "git" - which does not exists. After setting a password for the user "git" the clone-operation resulted in this:
git.exe clone --progress -v "git@SERVER:gitosis-admin.git" "PATH\gitosis-admin"
fatal: 'gitosis-admin.git' does not appear to be a git repository
Initialized empty Git repository in PATH/gitosis-admin/.git/
fatal: The remote end hung up unexpectedly
SERVER
& PATH
were valid.
How do I solve this? I reinstalled TortoiseGit already with plink-link thingy instead of OpenSSH.