For the jzmq repository, where I am a maintainer with read-write access, my .git/config looks like this:
[core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = ssh://g...@ssh.github.com/zeromq/jzmq [branch "master"] remote = origin merge = refs/heads/master So, I am using the ssh.github.com service, which simply provides an SSH server on github.com listening on port 443; this is great for when you are behind a restrictive firewall (as I am in my office). For the zeromq2 repository, where I am NOT a maintainer and only have read-only access, it looks like this: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git://localhost/zeromq/zeromq2 [branch "master"] remote = origin merge = refs/heads/master Here, what I do is to open an SSH session (using PuTTY) to a server I control, and create a tunnel so that my local port 9418 will be redirected to github.com:9418. This usually works fine but today has given me all kinds of trouble (essentially, lots of timeouts). Why do I have to use a tunnel? The reason is that if I change my zeromq2 .git/config to read like this: url = ssh://g...@ssh.github.com/zeromq/zeromq2 and then try to do a git pull, I get the following error message: $ git pull Enter passphrase for key '/home/gonzo/.ssh/id_rsa': ERROR: Permission to zeromq/zeromq2 denied to gonzus. fatal: The remote end hung up unexpectedly Finally, my question: what is required in order for this last git pull to work? I don't want read-write access to zeromq2, all I want is to be able to pull and compare. Thanks in advance and apologies for the long-winded message. Gonzalo Diethelm
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev