<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=29&amp;t=1072" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2013-06-01T23:24:18+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=29&amp;t=1072</id>
<entry>
<author><name><![CDATA[djdicbob]]></name></author>
<updated>2013-06-01T23:24:18+01:00</updated>
<published>2013-06-01T23:24:18+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4015#p4015</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4015#p4015"/>
<title type="html"><![CDATA[Re: SCP command does not working with yubikey]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4015#p4015"><![CDATA[
The link you posted is an older way to config sshd. Depending on your version of sshd, you should be able to set these config directives and get rid of the ForceCommand directive.<br /><br />/etc/pam.d/ssh:<br />Add yubico module<br />Remove/comment line &quot;auth include password-auth&quot;<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">#%PAM-1.0<br />auth       required pam_sepermit.so<br />auth       sufficient     pam_yubico.so id=N authfile=/etc/sysconfig/yubikey</div><br />#auth       include      password-auth<br /><br /><br />/etc/sshd/sshd_config:<br />Ensure these directive are set.  Shouldn't clash with most other sshd directives.<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">Protocol 2<br />RequiredAuthentications2 publickey,keyboard-interactive<br />ChallengeResponseAuthentication yes<br />UsePAM yes</div><br /><br />My output looks like this<br /><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">&#91;root@admin1a.domain ~&#93;$ scp RHEL-6.2-x86_64-kvm.cfg admin1b.domain:<br />Authenticated with partial success.<br />Yubikey for `root':<br />RHEL-6.2-x86_64-kvm.cfg             100% 1460     1.4KB/s   00:00</div><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2461">djdicbob</a> — Sat Jun 01, 2013 11:24 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rambeats]]></name></author>
<updated>2013-05-23T16:55:15+01:00</updated>
<published>2013-05-23T16:55:15+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4007#p4007</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4007#p4007"/>
<title type="html"><![CDATA[Re: SCP command does not working with yubikey]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4007#p4007"><![CDATA[
Tom,<br /><br />I had tried that way but it didn't work ssh with yubikey for me. There were some issues with RequiredAuthentications2 in ssh configuration.<br /><br />Below link helped me to get ssh authentication with publickey and yubikey together, but the issue is only with scp.<br /><!-- m --><a class="postlink" href="https://www.berrange.com/posts/2011/12/18/multi-factor-ssh-authentication-using-yubikey-and-ssh-public-keys-together/">https://www.berrange.com/posts/2011/12/ ... -together/</a><!-- m --><br /><br />Do you have any idea?<br /><br />Thanks<br />rambeats<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2449">rambeats</a> — Thu May 23, 2013 4:55 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Tom]]></name></author>
<updated>2013-05-23T14:06:17+01:00</updated>
<published>2013-05-23T14:06:17+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4006#p4006</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4006#p4006"/>
<title type="html"><![CDATA[Re: SCP command does not working with yubikey]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4006#p4006"><![CDATA[
Did you checked this?<br /><!-- m --><a class="postlink" href="https://www.crc.id.au/2012/10/24/ssh-two-factor-auth-with-yubikey-ssh-key/">https://www.crc.id.au/2012/10/24/ssh-tw ... y-ssh-key/</a><!-- m --><p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2195">Tom</a> — Thu May 23, 2013 2:06 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rambeats]]></name></author>
<updated>2013-05-23T13:46:16+01:00</updated>
<published>2013-05-23T13:46:16+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4005#p4005</id>
<link href="https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4005#p4005"/>
<title type="html"><![CDATA[SCP command does not working with yubikey]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=1072&amp;p=4005#p4005"><![CDATA[
Hi,<br /><br />I have configured ssh login to my remote server using publickey and yubikey together. It worked without any issue, but the scp command not functioning. It keeps struck on the command line and there is no password prompt or any other error message. Somebody please help me to resolve this issue.<br /><br />Thanks<br />rambeats<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=2449">rambeats</a> — Thu May 23, 2013 1:46 pm</p><hr />
]]></content>
</entry>
</feed>