git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git push asking for a password
@ 2010-07-26 10:31 brennsuppa
  2010-07-26 18:30 ` Ilari Liusvaara
  0 siblings, 1 reply; 2+ messages in thread
From: brennsuppa @ 2010-07-26 10:31 UTC (permalink / raw)
  To: git


Hi,

I'm working with git for the first time and when I started it I just had to
commit/push/pull on an existing repository.

Now I should create a new repo, but this fails when I try to git push origin
master:refs/heads/master because it is asking for a password, which should
not happen since ssh-keys are in use, right?

my setup:

I have an existing repo called drums, this works fine!
Now I tried to create a new one called guitars with this how to
http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way

so my gitosis.conf is like this:
[gitosis]

[group gitosis-admin]
writable = gitosis-admin
members = brennsuppa

[group drums]
writable = drums
members = brennsuppa dan


[group guitars]
writable = guitars
members = brennsuppa dan eug

my key should be working, otherwise I cannot explain why it works with
drums, any help?


-- 
View this message in context: http://old.nabble.com/git-push-asking-for-a-password-tp29265051p29265051.html
Sent from the git mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git push asking for a password
  2010-07-26 10:31 git push asking for a password brennsuppa
@ 2010-07-26 18:30 ` Ilari Liusvaara
  0 siblings, 0 replies; 2+ messages in thread
From: Ilari Liusvaara @ 2010-07-26 18:30 UTC (permalink / raw)
  To: brennsuppa; +Cc: git

On Mon, Jul 26, 2010 at 03:31:20AM -0700, brennsuppa wrote:
> 
> Hi,
> 
> I'm working with git for the first time and when I started it I just had to
> commit/push/pull on an existing repository.
> 
> Now I should create a new repo, but this fails when I try to git push origin
> master:refs/heads/master because it is asking for a password, which should
> not happen since ssh-keys are in use, right?

<Snip secition some repos working and some not>

The password prompts come from SSH, not git. And there only user and host
specified in URL matter.

BTW: 'git push origin master:refs/heads/master' can be shortened as
'git push origin master' if 'master' is a branch (it usually is). This isn't
the problem however.

Few possible problems:

- The URL points to wrong host or host alias
- The username in URL is wrong
- You are trying access from different computer/user that doesn't have valid
keys for that system.

-Ilari

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-26 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 10:31 git push asking for a password brennsuppa
2010-07-26 18:30 ` Ilari Liusvaara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).