How do programs like gitolite work?

后端 未结 3 1315
-上瘾入骨i
-上瘾入骨i 2020-11-22 04:35

I am curious as to how programs such as gitolite work -- specifically how do they interact with the SSH protocol to provide a tailored experience. Can somebody provide an ex

3条回答
  •  天涯浪人
    2020-11-22 04:53

    Note that sshd does a linear scan of the ~/.ssh/authorized_keys file. Once you get about 3000 keys in there, people whose keys appear later in the file start to notice the lag -- it begins to be more than network lag :-)

    That is one reason why github has their own patched version of sshd. They have far too many users to be able to manage with normal sshd!

提交回复
热议问题