I have a usb gadget exposing itself as network card, and allowing to ssh to it.
From my laptop I can authenticate using password method:
$ ssh -v -v -v -o PreferredAuthentications=password -o PubkeyAuthentication=no [email protected]
...
debug1: Authentications that can continue: publickey,password
But the same device connected to my desktop, won't allow password method
debug1: Authentications that can continue: publickey
In both case I am using the same ssh client ssh -V
:
OpenSSH_8.2p1 Ubuntu-4ubuntu0.1, OpenSSL 1.1.1f 31 Mar 2020
I would assume difference should be on the server host (the gadget). It uses dropbear, but I didn't found any specific configuration.
From where could come this different behavior in Authentication method available?