mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-06 21:00:40 +01:00
Currently its only possible to disable port forwarding only for specific keys, via the OpenSSH-style restriction in `authorized_keys` file. In some use cases it might be feasible to disable such features globally on service level, so lets add new LocalPortForward and RemotePortForward config knobs. Signed-off-by: Petr Štetiar <ynezz@true.cz> Link: https://github.com/openwrt/openwrt/pull/21071 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
9 lines
286 B
Text
9 lines
286 B
Text
# 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'
|
|
# option BannerFile '/etc/banner'
|
|
# option LocalPortForward 'off'
|
|
# option RemotePortForward 'off'
|