4 'require tools.widgets as widgets';
10 m
= new form
.Map('dropbear', _('SSH Access'), _('Dropbear offers <abbr title="Secure Shell">SSH</abbr> network shell access and an integrated <abbr title="Secure Copy">SCP</abbr> server'));
12 s
= m
.section(form
.TypedSection
, 'dropbear', _('Dropbear Instance'));
15 s
.addbtntitle
= _('Add instance');
17 o
= s
.option(widgets
.NetworkSelect
, 'Interface', _('Interface'), _('Listen only on the given interface or, if unspecified, on all'));
21 o
= s
.option(form
.Value
, 'Port', _('Port'));
25 o
= s
.option(form
.Flag
, 'PasswordAuth', _('Password authentication'), _('Allow <abbr title="Secure Shell">SSH</abbr> password authentication'));
28 o
.default = o
.enabled
;
31 o
= s
.option(form
.Flag
, 'RootPasswordAuth', _('Allow root logins with password'), _('Allow the <em>root</em> user to login with password'));
34 o
.default = o
.enabled
;
36 o
= s
.option(form
.Flag
, 'GatewayPorts', _('Gateway Ports'), _('Allow remote hosts to connect to local SSH forwarded ports'));
39 o
.default = o
.disabled
;