我拥有一个电离层服务器,安装在含水层上。
[git@HOST ~]$ git clone -v git://HOST.com/repositories/Extras
Cloning into Extras...
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 12 (delta 3), reused 0 (delta 0)
Receiving objects: 100% (12/12), 23.54 MiB | 16.63 MiB/s, done.
Resolving deltas: 100% (3/3), done.
注:HOST.com不是真实的。
我现在想得到同样的事情,以便我能够增加隐私和认证。 目前,它没有发挥作用:
[git@HOST ~]$ git clone -v ssh://HOST.com/repositories/Extras
Cloning into Extras...
Enter passphrase for key /home/git/.ssh/id_rsa :
ERROR:gitosis.serve.main:Repository read access denied
fatal: The remote end hung up unexpectedly
它看起来像SSH联线正在发挥作用,但盖特有某些许可问题。 不允许SEHCH。
在//log/mes中,我看到:
Sep 23 16:26:18 HOST sshd[32115]: Accepted publickey for git from X.X.X.X port 51023 ssh2
Sep 23 16:26:18 HOST sshd[32116]: fatal: mm_request_receive: read: Connection reset by peer
Sep 23 16:26:18 HOST sshd[32115]: pam_unix(sshd:session): session opened for user git by (uid=0)
Sep 23 16:26:19 HOST sshd[32121]: Received disconnect from X.X.X.X: 11: disconnected by user
Sep 23 16:26:19 HOST sshd[32115]: pam_unix(sshd:session): session closed for user git
没有人会就我可以开始研究的领域提出一些建议?
Thanks! Mike