<div dir="ltr"><div><div><div>Hi!<br><br>I can&#39;t SSH onto a server after updating dropbear from 2017.75 to 2018.76 with the existing key files.<br><br></div>If I re-create the key files then it works.<br><br></div><div>I think this might already be fixed from the patch in a previous thread but one thing that is curious is in syslog I see dropbear is looking for the key files in /etc/dropbear/.<br></div><pre style="color:rgb(0,0,0);background:rgb(255,255,255) none repeat scroll 0% 0%">Couldn&#39;t create new file <span style="color:rgb(128,128,48)">/</span>etc<span style="color:rgb(128,128,48)">/</span>dropbear<span style="color:rgb(128,128,48)">/</span>dropbear_ecdsa_host_key<span style="color:rgb(128,128,48)">.</span>tmp1180<span style="color:rgb(128,0,128)">:</span> No such file or directory
Exit before auth<span style="color:rgb(128,0,128)">:</span> Couldn&#39;t read or generate hostkey <span style="color:rgb(128,128,48)">/</span>etc<span style="color:rgb(128,128,48)">/</span>dropbear<span style="color:rgb(128,128,48)">/</span>dropbear_ecdsa_host_key
</pre><br></div>I am specifying the full path to the three keys with -r. The changelog seems to imply that dropbear will only use the paths specified with -r. Here is all of the flags used to launch dropbear.<br><br>
<pre style="color:rgb(0,0,0);background:rgb(255,255,255) none repeat scroll 0% 0%"><span style="color:rgb(128,128,48)">/</span>boot<span style="color:rgb(128,128,48)">/</span>tp<span style="color:rgb(128,128,48)">/</span>bin<span style="color:rgb(128,128,48)">/</span>dropbear <span style="color:rgb(128,128,48)">-</span>w <span style="color:rgb(128,128,48)">-</span>g <span style="color:rgb(128,128,48)">-</span>k <span style="color:rgb(128,128,48)">-</span>r <span style="color:rgb(128,128,48)">/</span>boot<span style="color:rgb(128,128,48)">/</span>dd<span style="color:rgb(128,128,48)">/</span>droppbear<span style="color:rgb(128,128,48)">/</span>dropbear_dss_host_key <span style="color:rgb(128,128,48)">-</span>r <span style="color:rgb(128,128,48)">/</span>boot<span style="color:rgb(128,128,48)">/</span>dd<span style="color:rgb(128,128,48)">/</span>dropbear<span style="color:rgb(128,128,48)">/</span>dropbear_rsa_host_key <span style="color:rgb(128,128,48)">-</span>r <span style="color:rgb(128,128,48)">/</span>boot<span style="color:rgb(128,128,48)">/</span>dd<span style="color:rgb(128,128,48)">/</span>dropbear<span style="color:rgb(128,128,48)">/</span>dropbear_ecdsa_host_key <span style="color:rgb(128,128,48)">-</span>R</pre>

<br></div>