I am trying to get a git repository up and running and installed git and gitosis on my remote ubuntu 8.04 server. I also have git running on my local ubuntu 10.04 machine.
After alot of trying to get it all to work I managed to get the ssh keys to work. When I type:
it returns:
PTY allocation request failed on channel 0
ERROR:gitosis.serve.main:Need SSH_ORIGINAL_COMMAND in envirement.
Connection to 123.456.789.1 closed.
As far as I understand this means I succesfully connected to the server and the ssh key got accepted, but because it didn't get any commands it closes te connection.
When I try to get the repo:
sudo git clone [email protected]:gitosis-admin.git
It returns:
Initialized empty Git repository in /home/git/repositories/gitosis-admin/.git/
[email protected]'s password:
The problem is, I don't have a password or phrase set, nor does it accept an empty password or the server password or my local's machine password. I understand it should'nt at all ask for a password because it should accept the ssh key (without a passphrase) and start downloading.
From this pointon I have no idea how to get the remote repo to my local machine so I can start using git. I hope someone can point me in the right direction.