Sorry, you are correct: you are using an SSH url. Pushing and cloning can be a bit funky to get working.
Things to validate: 1. Verify that gitorious has added your public key to the authorized_keys file -- you will know things are working properly if you see an entry that follows the pattern: command="gitorious yourusername",ssh-options,ssh-rsa yourkey 2. Verify there are no unusual auth related issues: - /var/log/syslog or /var/log/messages - /var/log/auth.log - gitorious production.log - gitorious_auth.log You can also expect some joy when attempting to get HTTP push and clone working. You will need to create a CNAME or A record with the name: git. gitorious.dev.mycompany.com You will find that the git_http_cloner.rb expects to see a subdomain git.yourhost.yourdomain. Dan On Thu, Nov 4, 2010 at 9:29 PM, Jarrod Roberson <[email protected]>wrote: > > > On Nov 4, 8:15 pm, Dan Reiland <[email protected]> wrote: > > Have you tried using the ssh URL? > > > > git remote add origin ssh://[email protected]:path/repo.git > > > > Thanks for the response, I have manually created a "bare" repository > in the "git" users home dir and was able to push to it with an ssh url > and it asked me for my password. So git is installed and working from > that side. > > I thought that the URL given on the repository screen which in my case > is > > [email protected]:jarrod-roberson/sandbox.git > the first part is git, google groups is trying to hard to be smart and > trying to obfuscate it > > was an ssh url, that is what it shows me in the when the (ssh) button > is selected on the repository screen. > > Here is what it says on my local install ( am changing my company name > to my company to keep these pages from being indexed with that term > which is very unique ) > ========================= > Pushing your local repository to Gitorious > > git checkout master > git remote add origin [email protected]:jarrod-roberson/ > sandbox.git > git push origin master > ========================= > > Here is what gitorious.org says about the same data on the same page > > ========================= > Pushing your local repository to Gitorious > > git checkout master > git remote add origin [email protected]:my-project/new-repos.git > git push origin master > ========================= > > And following those instructions works on the gitorious.org repository > > ========================= > PS C:\tmp\test> git remote add new-repos [email protected]:my-project/ > new-repos.git > PS C:\tmp\test> git push new-repos master > Counting objects: 5, done. > Delta compression using up to 4 threads. > Compressing objects: 100% (3/3), done. > Writing objects: 100% (5/5), 453 bytes, done. > Total 5 (delta 0), reused 0 (delta 0) > => Syncing Gitorious... [OK] > To [email protected]:my-project/new-repos.git > * [new branch] master -> master > PS C:\tmp\test> > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<gitorious%[email protected]> > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
