Still a error as follow.

% git pull
Bad owner or permissions on /Users/lhc/.ssh/config
fatal: The remote end hung up unexpectedly
% ll ~/.ssh/config
-rwxrwxrwx  1 lhc  lhc  873  2 12  2010 /Users/lhc/.ssh/config
% cat ./git/config
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "origin"]
    fetch = +refs/heads/*:refs/remotes/origin/*
    url = ssh://git.gnu.org/inetutils.git
[branch "master"]
    remote = origin
    merge = refs/heads/master



On Thu, Jun 16, 2011 at 2:03 AM, Alfred M. Szmidt <a...@gnu.org> wrote:

>   I chmod the known_hosts. However there is still an error.  ~ Hongchao
>
>   % git pull
>   Permission denied (publickey).
>   fatal: The remote end hung up unexpectedly
>
> Oh, I think I know what might be wrong! In inetutils/.git/config
> replace the line:
>
>   url = ssh://git.gnu.org/srv/git/inetutils.git
>
> with
>
>   url = git://git.gnu.org/inetutils.git
>
>

Reply via email to