<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Kenny,<div class=""><br class=""></div><div class="">I don't think I've seen that problem before. Does Dropbear log anything in /var/log/auth.log or similar? </div><div class="">Or if logging isn't set up on the system, if you run dropbear -F -E it will log to the console.</div><div class="">The clock shouldn't make any difference.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Matt<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Thu 20/6/2019, at 11:15 am, Kenny Koller <<a href="mailto:kenny@stealthspacecompany.com" class="">kenny@stealthspacecompany.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class="">Hi,</div><div class=""><br class=""></div><div class="">I'm using Xilinx's 2019.1 Petalinux system which uses Dropbear 2018.76 by default. The target is</div><div class="">a Zynq 7000 running Linux.</div><div class=""><br class=""></div><div class="">The first issue is that with the open-ssh client the first password attempt fails every time. The</div><div class="">second attempt works. This was before I configured any host/login keys. A console login does not</div><div class="">have this issue.</div><div class=""><br class=""></div><div class="">The second issue is that with the host/login keys in place I continue to be prompted twice when</div><div class="">using ssh. With dbclient I am rejected altogether:</div><div class=""><br class=""></div><div class="">radsys@radsys-nuc:~$ dbclient<span class="Apple-converted-space"> </span><a href="mailto:root@10.160.33.150" class="">root@10.160.33.150</a><span class="Apple-converted-space"> </span>-i ~/.ssh/id_rsa</div><div class=""><a href="mailto:root@10.160.33.150" class="">root@10.160.33.150</a>'s password: </div><div class=""><a href="mailto:root@10.160.33.150" class="">root@10.160.33.150</a>'s password: </div><div class=""><br class=""></div><div class="">dbclient: Connection to<span class="Apple-converted-space"> </span><a href="mailto:root@10.160.33.150" class="">root@10.160.33.150</a>:22 exited: Error reading: Connection reset by peer</div><div class=""><br class=""></div><div class="">My client system is Ubuntu 16.04 with the login (private) key stored as follows. It was generated</div><div class="">with dropbearkey:</div><div class=""><br class=""></div><div class="">radsys@radsys-nuc:~$ ls -al .ssh</div><div class="">drwx------ 2 radsys radsys 4096 Jun 19 19:33 .</div><div class="">drwxr-xr-x 35 radsys radsys 4096 Jun 17 19:20 ..</div><div class="">-rw------- 1 radsys radsys 805 Jun 19 19:31 id_rsa</div><div class=""><br class=""></div><div class="">On the server/embedded side I have the public portion of the private key above in authorized_keys</div><div class="">and a host key also generated using dropbearkey.</div><div class=""><br class=""></div><div class="">root@radio:~# ls -al /etc/dropbear</div><div class="">drwxr-xr-x 2 root root 0 Jun 20 02:25 .</div><div class="">drwxr-xr-x 24 root root 0 Jun 20 02:26 ..</div><div class="">-rw------- 1 root root 393 Jun 20 02:25 authorized_keys</div><div class="">-rw------- 1 root root 805 Jun 20 02:25 dropbear_rsa_host_key</div><div class=""><br class=""></div><div class="">Also, my clock is not set correctly on the embedded system. Is this an issue?</div><br class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin-top: 0px; margin-bottom: 0px;" class="">Help would be greatly appreciated.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thanks,</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Kenny</div></div></div></blockquote></div><br class=""></div></body></html>