Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You need to setup ~gitolite/.ssh/authorized_keys with a line like</p> <pre><code>command="/home/gitolite/bin/gl-auth-command &lt;USERNAME&gt;",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAA...KEY.HERE...ZZZZ== user@label </code></pre> <p>A random URL with info relating to this (see the bottom of the page)</p> <p><a href="http://www.geekgumbo.com/2011/10/18/ssh-and-the-gitolite-installation-part-2/">http://www.geekgumbo.com/2011/10/18/ssh-and-the-gitolite-installation-part-2/</a></p> <p>Ensure to change ownership of ~gitolite/.ssh/authorized_keys as per SSH requirements with:</p> <pre><code>chown gitolite: ~gitolite/.ssh/authorized_keys chmod go-w ~gitolite/.ssh/authorized_keys </code></pre> <p>EDIT: to reflect your edits changing 'git' to 'gitolite' system username.</p> <p>Test your access from the client with:</p> <pre><code>ssh -l gitolite -i &lt;file_id_rsa_foobar&gt; -v -o PasswordAuthentication=no -T &lt;host&gt; </code></pre> <p>Added -T seems needed on my local system to get banner (typed in excuse mistakes):</p> <pre><code>.... debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/username/.ssh/id_rsa_foobar debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering DSA public key: /home/username/.ssh/id_dsa_foobar debug1: Remote: Forced command: /home/gitolite/bin/gl-auth/command &lt;username&gt; .... hello &lt;username&gt; this is gitolite vX.X.XX-g0123abcd running on git X.X.X the gitolite config gives you the following access: R W mydir/project1 .... </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload