In dropbear.config we have:
config dropbear
option PasswordAuth 'on'
option Port '22'
Yet in dropbear.init there's no mention of the on option.
config_cb() {
local cfg="$CONFIG_SECTION"
local nopasswd
local cfgt
config_get cfgt "$cfg" TYPE
case "$cfgt" in
dropbear)
config_get passauth $cfg PasswordAuth
config_get port $cfg Port
case "$passauth" in
no|off|disabled|0) nopasswd=1;;
esac
DROPBEAR_ARGS="${nopasswd:+-s }${port:+-p $port}"
;;
esac
}
So what's the proper method for someone who wants to use a public/private key pair?
Is it off or nopasswd? I'm guessing it's nopasswd after looking at the code but don't really want to lock myself out so thought I'd ask.
(Last edited by KillaB on 26 Apr 2007, 04:58)