<?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=26&amp;t=2376" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2016-07-29T20:39:53+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=26&amp;t=2376</id>
<entry>
<author><name><![CDATA[SecureDude]]></name></author>
<updated>2016-07-29T20:39:53+01:00</updated>
<published>2016-07-29T20:39:53+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2376&amp;p=8816#p8816</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2376&amp;p=8816#p8816"/>
<title type="html"><![CDATA[Re: SSH client using Yubikey NEO in Ubuntu 16.04]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2376&amp;p=8816#p8816"><![CDATA[
I went through the same issue, also on Ubuntu 1604. I took a different approach. I didn't try to use pkcs11. I went with gpg-agent.<br /><br />In reality, gpg-agent works very well and is not hard to set up.<br /><br />There was only one major problem: Ubuntu 1604 comes with GPG 2.1.11, and the gpg-agent that comes with that is not compatible with ssh at this time. If you use it and do ssh-add -L it will get &quot;protocol error 2&quot;. I finally figured out that I needed a different version of GPG. I installed GPG 2.0, and then things worked as expected.<br /><br />It does definitely work. I can post a lot more details if needed. If it hadn't been for the GPG 2.1 issue, it would have taken me only about an hour from start to finish.<br /><br />I will document some more about how I set this up on the Windows side and using it with mounting a SFTP server in Windows client (ExpanDrive)<br /><br />My next problem is setting all this up for IMAP somehow. Hopefully I don't need to use OTP, but maybe I have to.<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4416">SecureDude</a> — Fri Jul 29, 2016 8:39 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[havard]]></name></author>
<updated>2016-07-27T23:06:53+01:00</updated>
<published>2016-07-27T23:06:53+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2376&amp;p=8812#p8812</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2376&amp;p=8812#p8812"/>
<title type="html"><![CDATA[SSH client using Yubikey NEO in Ubuntu 16.04]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2376&amp;p=8812#p8812"><![CDATA[
Hi There<br /><br />I am following the guide at <a href="https://developers.yubico.com/yubico-piv-tool/SSH_with_PIV_and_PKCS11.html" class="postlink">https://developers.yubico.com/yubico-piv-tool/SSH_with_PIV_and_PKCS11.html</a>.<br /><br />Ubuntu 16.04 stable was up to date 2016-07-27. I have keys and self-signed certs in all slots.<br /><br /><strong>Step 5:</strong><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">ssh-keygen -D $OPENSC_LIBS/opensc-pkcs11.so -e<br /><br />ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br />ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br /></div><br />This command seems to generate public ssh-keys for all slots. OK.<br /><br /><strong>Step 6:</strong><br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">OPENSC_LIBS=&quot;/usr/lib/x86_64-linux-gnu&quot;<br />ssh -I $OPENSC_LIBS/opensc-pkcs11.so user@host<br /><br />no such identity: /home/a/.ssh/id_rsa: No such file or directory<br />no such identity: /home/a/.ssh/id_dsa: No such file or directory<br />no such identity: /home/a/.ssh/id_ecdsa: No such file or directory<br />no such identity: /home/a/.ssh/id_ed25519: No such file or directory<br />Password: <br /></div><br />This command do not trig any query for a PIN. I also miss a place to specify slotnumber.<br /><br />Are anyone able to help?<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4413">havard</a> — Wed Jul 27, 2016 11:06 pm</p><hr />
]]></content>
</entry>
</feed>