<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ssh from phone (client)]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I try to connect with ssh from my phone (FP2 with UT)  to openssh server on PC (with Ubuntu 16.04).<br />
I succeed with password authentication, but not with public/private key authentication.<br />
In a terminal on the phone I did:</p>
<ul>
<li>key generation: <code>ssh-keygen -t rsa</code></li>
<li>copy of public key to server: <code>ssh-copy-id -i ~/.ssh/id_rsa.pub &lt;username&gt;@&lt;ipaddress&gt;</code> Until there, it works fine, the key was added in authorized_keys on server.</li>
</ul>
<p dir="auto">But then when I tried to connect from the phone with <code>ssh &lt;username&gt;@&lt;ipaddress&gt;</code>, I had the message:</p>
<pre><code>Agent admitted failure to sign using the key
&lt;username&gt;@&lt;ipaddress&gt;'s password:
</code></pre>
<p dir="auto">After searching what could be wrong, I tried <code>ssh-add</code>, that did not solve the problem, instead the message is displayed twice:</p>
<pre><code>Agent admitted failure to sign using the key
Agent admitted failure to sign using the key
&lt;username&gt;@&lt;ipaddress&gt;'s password:
</code></pre>
<p dir="auto">I reboot the phone, restart the server on PC, delete .ssh on the phone, delete the authorized key on server and redo everything. But the issue is still there!</p>
<p dir="auto">Does someone has an idea how to solve this?<br />
Thanks</p>
]]></description><link>https://forums.ubports.com/topic/769/ssh-from-phone-client</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 15:16:12 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/769.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 03 Dec 2017 14:41:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ssh from phone (client) on Tue, 12 Feb 2019 10:24:56 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44d.png?v=56a73af4c47" class="not-responsive emoji emoji-android emoji--+1" style="height:23px;width:auto;vertical-align:middle" title=":+1:" alt="👍" />  perfect</p>
]]></description><link>https://forums.ubports.com/post/17390</link><guid isPermaLink="true">https://forums.ubports.com/post/17390</guid><dc:creator><![CDATA[stefwe]]></dc:creator><pubDate>Tue, 12 Feb 2019 10:24:56 GMT</pubDate></item><item><title><![CDATA[Reply to ssh from phone (client) on Sun, 10 Feb 2019 15:14:24 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Just to say that now with UT 16.04, no more problem, I can connect by ssh from my phone (ssh client) to my PC (ssh server) by using the public/private key authentication.</p>
]]></description><link>https://forums.ubports.com/post/17329</link><guid isPermaLink="true">https://forums.ubports.com/post/17329</guid><dc:creator><![CDATA[Aloys]]></dc:creator><pubDate>Sun, 10 Feb 2019 15:14:24 GMT</pubDate></item><item><title><![CDATA[Reply to ssh from phone (client) on Sun, 10 Dec 2017 18:20:11 GMT]]></title><description><![CDATA[<p dir="auto">@Einstein212 Thank for the link.<br />
It explain how to use ssh but by setting ssh server on phone side.</p>
<p dir="auto">In fact, I could do it this way for my purpose: I just want to use rsync to save my phone home.<br />
I thought it was easier to use ssh as client on my phone. First I have ssh server ready for use on my desktop. Then I had nothing to configure or authorize on my phone (except keys generation and transfer).</p>
]]></description><link>https://forums.ubports.com/post/5828</link><guid isPermaLink="true">https://forums.ubports.com/post/5828</guid><dc:creator><![CDATA[Aloys]]></dc:creator><pubDate>Sun, 10 Dec 2017 18:20:11 GMT</pubDate></item><item><title><![CDATA[Reply to ssh from phone (client) on Sun, 10 Dec 2017 18:08:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guru" aria-label="Profile: guru">@<bdi>guru</bdi></a> Thanks<br />
This works, I can connect to the server by entering my passphrase of private key.</p>
<p dir="auto">But this is not a complete solution because I have to do it each time I start a new terminal and I suppose that it prevent from ssh-agent running properly. Doing <code>ssh-add</code> returns <code>Could not open a connection to your authentication agent.</code></p>
<p dir="auto">I find that there was similar issue on ubuntu desktop (and someone with a BQ E5)<br />
<a href="https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/201786" target="_blank" rel="noopener noreferrer nofollow ugc">https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/201786</a><br />
But it seems there was also no real solution.</p>
]]></description><link>https://forums.ubports.com/post/5827</link><guid isPermaLink="true">https://forums.ubports.com/post/5827</guid><dc:creator><![CDATA[Aloys]]></dc:creator><pubDate>Sun, 10 Dec 2017 18:08:43 GMT</pubDate></item><item><title><![CDATA[Reply to ssh from phone (client) on Sun, 10 Dec 2017 14:30:32 GMT]]></title><description><![CDATA[<p dir="auto">@ublublu Run before ssh:</p>
<p dir="auto">unset SSH_AUTH_SOCK</p>
<p dir="auto">if this does not help, use ssh -vv ... and post the log here.</p>
]]></description><link>https://forums.ubports.com/post/5822</link><guid isPermaLink="true">https://forums.ubports.com/post/5822</guid><dc:creator><![CDATA[guru]]></dc:creator><pubDate>Sun, 10 Dec 2017 14:30:32 GMT</pubDate></item><item><title><![CDATA[Reply to ssh from phone (client) on Sun, 10 Dec 2017 12:10:19 GMT]]></title><description><![CDATA[<p dir="auto">maybe you found here some idea's what you can try to get it working</p>
<p dir="auto"><a href="https://kriscode.blogspot.de/2017/12/ssh-and-ubuntu-touch.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://kriscode.blogspot.de/2017/12/ssh-and-ubuntu-touch.html</a></p>
]]></description><link>https://forums.ubports.com/post/5816</link><guid isPermaLink="true">https://forums.ubports.com/post/5816</guid><dc:creator><![CDATA[stefwe]]></dc:creator><pubDate>Sun, 10 Dec 2017 12:10:19 GMT</pubDate></item></channel></rss>