<div dir="ltr"><div>Hi, folks</div><div><br></div><div>I have successfully setup sssd that the project members can login with their LDAP credentials.</div><div><br></div><div>we also have gitlab installed in the same server, gitlab relies on the SSH trigger (command=&quot;...&quot; in authorized_keys file) for git ssh auth.</div>

<div>but the problem is I can&#39;t get git ssh auth login success because the gitlab-shell comamnd not triggered:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>cat ~/.ssh/authorized_keys </div>

</div><div><div>command=&quot;<b><font color="#ff0000">date &gt;&gt; a.log;</font></b> /opt/git/gitlab-shell/bin/gitlab-shell key-2&quot;,no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAsIDug9GByMA0KWakMxt2jJTKhR4Rr53zA3iIGNyI5FFszppaAaKLyEjwi46IcPD6247eiudhNkptqAk5Ao71+iydbkuT882F+IEzgD6f4nl2fBqWyZPN/AtG8ojnQJWVOwN2W02IPgXYx+Kpbg9LAk2ac8nW/JK9A90X8+BmCcdWJzjXzoXp2RsOPeofcXcAyjr5vhHP4ES1xxC+jZ4UcpCbOLhIC1EwHGZk1Kwc1WV7IeZBd0tjjuJs1q9zDzAKNFG93U9cVZ6/92N46TNgHRcp+BRuYpGO/vK1sn2Or3x/hq/ruvjGpes+kFQ35VwSAA2DncPV0CPfn9opUXkcXw== <a href="mailto:jenkins-ci@example.com">jenkins-ci@example.com</a></div>

</div></blockquote><div>i added &quot;date &gt;&gt; a.log&quot; in front of the gitlab-shell, the expect result is ~/a.log should be generated and datetime are logged in the file.</div><div>(i test this on a normal server, which means without SSSD setup, it worked as expected)</div>

<div><br></div><div>but on the SSSD enabled server, i did not see ~/a.log created, that means the command not triggered.</div><div><br></div><div>so do you have any clue why the command not triggered?</div><div>let me know if need to provide more info, like conf file, etc.</div>

<br clear="all"><div>  Thanks &amp; Best Regards!<br><br>                  ///<br>                 (. .)<br>  --------ooO--(_)--Ooo--------<br>  |           Nick Tan           |<br>  ------------------------------------<br>

</div>
</div>