How to configure Dropbear for key-based auth only?
-
I would like to disable Dropbear's password authentication so that it uses key-based authentication only. This is how I configure all of my Linux hosts (normally though sshd). I have already manually exchanged keys between Omega2 and the other hosts. I'm not sure how to configure Dropbear appropriately, though. It seem the '-s' (disable password auth) and '-g' (disable password logins for root_ arguments are what I want, I'm just not sure how to correctly edit /etc/init.d/dropbear to make the necessary changes. Thanks!
-
@Andy-Forceno , did you check out this:
https://wiki.openwrt.org/doc/howto/dropbear.public-key.auth (disable-password-login)
It looks like with
uci
you can deactivate user based login.
-
I had not seen that. Thank you, that is just what I was looking for!