Re: git push asking for a password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]