<p dir="ltr">Thanks. After upgrading the openssh to 6.1 and using AuthenticationMethod, it works.</p>
<p dir="ltr">-Yogesh Sharma</p>
<p dir="ltr">(Sent from my HTC)</p>
<div class="gmail_quote">On 22-Dec-2015 8:51 pm, "Sumit Bose" <<a href="mailto:sbose@redhat.com">sbose@redhat.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Dec 22, 2015 at 06:51:25PM +0530, Yogesh Sharma wrote:<br>
> Hi List,<br>
><br>
> Did not see any options for SSH Keys + OTP or Password, However would like<br>
> to know if it is possible with FreeIPA user.<br>
><br>
> With Generic SSH , We can use use AuthenticationMethods, but not sure where<br>
> to check in FreeIPA.<br>
<br>
I think there is nothing specific about FreeIPA here. If you set on a<br>
IPA client 'AuthenticationMethods = publickey,password' in sshd_config,<br>
sshd will check the ssh key first and then ask the user for a password.<br>
<br>
If the user is configured to use OTP on the IPA server then you have to<br>
enter not only the password but the OTP token as well.<br>
<br>
HTH<br>
<br>
bye,<br>
Sumit<br>
<br>
><br>
><br>
><br>
><br>
> *Best Regards,*<br>
><br>
> *__________________________________________*<br>
><br>
> *Yogesh Sharma*<br>
> *Email: <a href="mailto:yks0000@gmail.com">yks0000@gmail.com</a> <<a href="mailto:yks0000@gmail.com">yks0000@gmail.com</a>> | Web: <a href="http://www.initd.in" rel="noreferrer" target="_blank">www.initd.in</a><br>
> <<a href="http://www.initd.in/" rel="noreferrer" target="_blank">http://www.initd.in/</a>> *<br>
><br>
> *RHCE, VCE-CIA, RACKSPACE CLOUD U Certified*<br>
><br>
> <<a href="https://www.fb.com/yks0000" rel="noreferrer" target="_blank">https://www.fb.com/yks0000</a>>   <<a href="http://in.linkedin.com/in/yks0000" rel="noreferrer" target="_blank">http://in.linkedin.com/in/yks0000</a>><br>
> <<a href="https://twitter.com/checkwithyogesh" rel="noreferrer" target="_blank">https://twitter.com/checkwithyogesh</a>><br>
> <<a href="http://google.com/+YogeshSharmaOnGooglePlus" rel="noreferrer" target="_blank">http://google.com/+YogeshSharmaOnGooglePlus</a>><br>
<br>
> --<br>
> Manage your subscription for the Freeipa-users mailing list:<br>
> <a href="https://www.redhat.com/mailman/listinfo/freeipa-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/freeipa-users</a><br>
> Go to <a href="http://freeipa.org" rel="noreferrer" target="_blank">http://freeipa.org</a> for more info on the project<br>
<br>
</blockquote></div>