On Fri, Apr 8, 2011 at 5:53 AM, git_usr <[email protected]> wrote:
> Hi, > > I've set up your awesome product on a private work server (freebsd) > behind a reverse proxy (pound) and using a numeric ip address as the > hostname. > > From the outside world I can log into the gitorious web app, create > users, ssh keys (with state: ready), teams, projects, and > repositories, and I can access the server via ssh, and I've previously > used gitosis on this server - accessing it with git from my remote > (home based) workstation. > > But from the same remote workstation, I can't git push to gitorious > and my efforts give me the error in the subject line of this post. > > Here's what I do: > ---------------------- > After creating a repository in gitorious web app, on my workstation I > do: > mkdir -p ~/mytestgitproject > cd ~/mytestgitproject > touch .gitignore > git init > git add . > git commit -m "Initial commit" > git remote add origin git@my-numeric-ip-address:myproject/mainline.git > > But when I do: > git push origin master > > Error: > -------------- > Access denied or bad repository path > fatal: The remote end hung up unexpectedly > > This echoes the gitorious_auth.log on the server: > INFO -- : Connection from "my-numeric-ip-address 58884 22" (git): git- > receive-pack 'myproject/myrepository.git' > INFO -- : Executing read/write command for "git": "git-receive-pack > 'myproject/myrepository.git' > This line does not look like something Gitorious outputs, did you add this yourself? One thing you could do to make sure the gitorious script correctly identifies you is to enter: $ ssh git@<your-ip> This should give output from Gitorious, does it? Cheers, - Marius -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
