<div dir="ltr"><br clear="all"><div>Hi people.</div><div><br></div><div>I'm attempting to set up dropbear ssh on a mac, for testing something.</div><div><br></div><div>For some reason, password authentication consistently fails for the account I'm trying: testacct.  If I set up RSA authentication for testacct, that works fine, but I need to use a password for the testing.</div><div><br></div><div>I have OpenSSH set up and running on the same system, so I have dropbear on an alternate port: tcp/2222.</div><div><br>If I log into testacct with a password, on tcp/22 (that is, using OpenSSH), things work fine.</div><div><br></div><div>My dropbear invocation and messages look like:<br>$ /usr/local/sbin/dropbear -p <a href="http://127.0.0.1:2222">127.0.0.1:2222</a> -E -R -F<br>cmd output started 2021 Tue Jul 27 03:41:43 PM PDT<br>[3228] Jul 27 15:41:43 Not backgrounding<br>[3237] Jul 27 15:41:47 Child connection from <a href="http://127.0.0.1:53525">127.0.0.1:53525</a><br>[3237] Jul 27 15:41:50 Bad password attempt for 'testacct' from <a href="http://127.0.0.1:53525">127.0.0.1:53525</a><br>[3237] Jul 27 15:41:53 Bad password attempt for 'testacct' from <a href="http://127.0.0.1:53525">127.0.0.1:53525</a><br>[3237] Jul 27 15:41:55 Exit before auth from <<a href="http://127.0.0.1:53525">127.0.0.1:53525</a>>: (user 'testacct', 2 fails): Exited normally<br></div><div><br></div><div>And from the clients I see:</div><div>$ ssh -p 2222 <a href="mailto:testacct@127.0.0.1">testacct@127.0.0.1</a><br><a href="mailto:testacct@127.0.0.1">testacct@127.0.0.1</a>'s password:<br>Permission denied, please try again.<br><a href="mailto:testacct@127.0.0.1">testacct@127.0.0.1</a>'s password:<br>Permission denied, please try again.<br><a href="mailto:testacct@127.0.0.1">testacct@127.0.0.1</a>'s password:</div><div><br>$ dbclient -p 2222 <a href="mailto:testacct@127.0.0.1">testacct@127.0.0.1</a><br>Host '127.0.0.1' is not in the trusted hosts file.<br>(ssh-ed25519 fingerprint sha1!! 6f:b7:50:8c:82:87:ce:bf:cc:fd:e3:48:63:12:60:9d:39:17:e2:97)<br>Do you want to continue connecting? (y/n) y<br><a href="mailto:testacct@127.0.0.1">testacct@127.0.0.1</a>'s password:<br><a href="mailto:testacct@127.0.0.1">testacct@127.0.0.1</a>'s password:<br><a href="mailto:testacct@127.0.0.1">testacct@127.0.0.1</a>'s password:<br></div><div><br></div><div>What do I need to do to get dropbear server to allow password-based authentication?</div><div><br></div><div>BTW, I am using Dropbear v2020.81 from homebrew on macOS 11.5.1.</div><div><br></div><div>Thanks!</div><div><br></div></div>