# See https://openwrt.org/docs/guide-user/base-system/dropbear
config dropbear main
	option enable '1'
	option PasswordAuth 'on'
	option RootPasswordAuth 'on'
	option Port         '22'
	# 用 DirectInterface（= dropbear -l <iface>，按接口绑定）而不是 Interface：
	# Interface 只是启动时把接口解析成一组地址来绑，且会打一条
	# "Option 'Interface' binds to address(es) but not to interface" 的日志；
	# DirectInterface 直接绑接口，接口地址变化也跟随，日志干净。
	option DirectInterface 'lan'
#	option BannerFile   '/etc/banner'
#	option LocalPortForward 'off'
#	option RemotePortForward 'off'
