<div dir="ltr"><div>thanks for the clarification. </div>authorizedkeycommand part from sshd_config was already working .. the question was specifically for .ssh/sss_authorizedkeys, as i didnt even see it in the source. noticed that offline cache works for this, but i wasnt able to remove it using sss_cache -u ${id} -S . How would i go about removing it ? other than setting lower cache_timeout <div>
<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 11, 2014 at 5:31 PM, Jan Cholasta <span dir="ltr">&lt;<a href="mailto:jcholast@redhat.com" target="_blank">jcholast@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div class=""><br>
<br>
On 11.6.2014 16:11, Daniel Jung wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
According to the doc,<br>
In order to manage user keys, SSSD has a tool, |sss_ssh_authorizedkeys|,<br>
which performs two operations:<br>
<br></div>
 1.<div class=""><br>
    Retrieves the user&#39;s public key from the user entries in the<br>
    Identity Management (IPA) domain.<br>
 2.<br></div>
    Stores the user key in a custom file, |.ssh/sss_authorized_keys|, in<div class=""><br>
    the standard authorized keys format.<br>
</div></blockquote>
<br>
The documentation is not correct, see &lt;<a href="https://bugzilla.redhat.com/show_bug.cgi?id=985809" target="_blank">https://bugzilla.redhat.com/<u></u>show_bug.cgi?id=985809</a>&gt;.<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So i can get the sss_ssh_authorizedkeys to spit out the publickey, and<br>
can auth using it via sshd, however, I do not see<br>
.ssh/sss_authorized_keys being created under users directory. I even<br>
tried creating the file and see if it gets updated.<br>
Don&#39;t see anything obvious in the ssh_config that would indicate adding<br>
authorized_keys.<br>
Anyone?<br>
</blockquote>
<br></div>
You need to set AuthorizedKeysCommand to /usr/bin/sss_ssh_<u></u>authorizedkeys in sshd_config, ssh_config is not related. See sss_ssh_authorizedkeys man page for more information.<br>
<br>
Honza<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Jan Cholasta<br>
______________________________<u></u>_________________<br>
sssd-users mailing list<br>
<a href="mailto:sssd-users@lists.fedorahosted.org" target="_blank">sssd-users@lists.fedorahosted.<u></u>org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-users" target="_blank">https://lists.fedorahosted.<u></u>org/mailman/listinfo/sssd-<u></u>users</a><br>
</font></span></blockquote></div><br></div>