{"thread":{"id":"24525","subject":"git push asking for a password","startedAt":"2010-07-26T10:31:20Z","lastAt":"2010-07-26T18:30:58Z","messageCount":2,"participants":["brennsuppa","Ilari Liusvaara"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"146364","messageId":"29265051.post@talk.nabble.com","threadId":"24525","inReplyTo":null,"subject":"git push asking for a password","fromName":"brennsuppa","fromEmail":"joe@bastarde.at","sentAt":"2010-07-26T10:31:20Z","receivedAt":"2010-07-26T10:31:20Z","isPatch":false,"sender":{"key":"joe@bastarde.at","avatar":null},"body":"\nHi,\n\nI'm working with git for the first time and when I started it I just had to\ncommit/push/pull on an existing repository.\n\nNow I should create a new repo, but this fails when I try to git push origin\nmaster:refs/heads/master because it is asking for a password, which should\nnot happen since ssh-keys are in use, right?\n\nmy setup:\n\nI have an existing repo called drums, this works fine!\nNow I tried to create a new one called guitars with this how to\nhttp://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way\n\nso my gitosis.conf is like this:\n[gitosis]\n\n[group gitosis-admin]\nwritable = gitosis-admin\nmembers = brennsuppa\n\n[group drums]\nwritable = drums\nmembers = brennsuppa dan\n\n\n[group guitars]\nwritable = guitars\nmembers = brennsuppa dan eug\n\nmy key should be working, otherwise I cannot explain why it works with\ndrums, any help?\n\n\n-- \nView this message in context: http://old.nabble.com/git-push-asking-for-a-password-tp29265051p29265051.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"146411","messageId":"20100726183058.GA29313@LK-Perkele-V2.elisa-laajakaista.fi","threadId":"24525","inReplyTo":"29265051.post@talk.nabble.com","subject":"Re: git push asking for a password","fromName":"Ilari Liusvaara","fromEmail":"ilari.liusvaara@elisanet.fi","sentAt":"2010-07-26T18:30:58Z","receivedAt":"2010-07-26T18:30:58Z","isPatch":false,"sender":{"key":"ilari.liusvaara@elisanet.fi","avatar":null},"body":"On Mon, Jul 26, 2010 at 03:31:20AM -0700, brennsuppa wrote:\n> \n> Hi,\n> \n> I'm working with git for the first time and when I started it I just had to\n> commit/push/pull on an existing repository.\n> \n> Now I should create a new repo, but this fails when I try to git push origin\n> master:refs/heads/master because it is asking for a password, which should\n> not happen since ssh-keys are in use, right?\n\n<Snip secition some repos working and some not>\n\nThe password prompts come from SSH, not git. And there only user and host\nspecified in URL matter.\n\nBTW: 'git push origin master:refs/heads/master' can be shortened as\n'git push origin master' if 'master' is a branch (it usually is). This isn't\nthe problem however.\n\nFew possible problems:\n\n- The URL points to wrong host or host alias\n- The username in URL is wrong\n- You are trying access from different computer/user that doesn't have valid\nkeys for that system.\n\n-Ilari\n"}]}