[Top][All Lists]

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

Re: git push doesn't work

From: Marc Hohl
Subject: Re: git push doesn't work
Date: Fri, 27 Jul 2012 09:11:09 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0

Am 27.07.2012 09:01, schrieb David Kastrup:
Marc Hohl <address@hidden> writes:

[remote "origin"]
     url = git://
     fetch = +refs/heads/master:refs/remotes/origin/master
     fetch = +refs/heads/staging:refs/remotes/origin/staging

So I think I am not using http, right?
It is not an authenticated protocal either, so it is pretty much the
same with regard to pushing.  This section looks like

[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = ssh://

in my setup.

I see.

I edited my .git/config and inserted the lines above.

Now I get

git push origin HEAD:staging
The authenticity of host ' (' can't be established.
RSA key fingerprint is 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ',' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

I must admit that I am not very familiarwith the whole ssh stuff – is there anything I can do
to make it work? The git instructions on

don't seem to cover the ssh protocol in combination with git...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]