Add an option to allow only root logins
Can we add an option to dropbear (say, -o or --allow-root-only) flag to allow only root login ? Or, accept the list of users to allow login using another option either --only-allow-users "root,postgres" or --only-allow-group root,group1
This is useful when we use dropbear as a secondary emergency ssh server, and only restricted set of users should be allowed to login for emergency troubleshooting.
Exists since 15 years, but its called "rootonlylogin" : https://github.com/Freetz-NG/freetz-ng/blob/master/make/dropbear/patches/100-root-login-only.patch
Well, then the question is: can we patch https://github.com/Freetz-NG/freetz-ng/blob/master/make/dropbear/patches/100-root-login-only.patch here ? @mkj ?