3 'require tools.widgets as widgets';
9 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'));
11 s = m.section(form.TypedSection, 'dropbear', _('Dropbear Instance'));
14 s.addbtntitle = _('Add instance');
16 o = s.option(widgets.NetworkSelect, 'Interface', _('Interface'), _('Listen only on the given interface or, if unspecified, on all'));
20 o = s.option(form.Value, 'Port', _('Port'));
24 o = s.option(form.Flag, 'PasswordAuth', _('Password authentication'), _('Allow <abbr title="Secure Shell">SSH</abbr> password authentication'));
27 o.default = o.enabled;
30 o = s.option(form.Flag, 'RootPasswordAuth', _('Allow root logins with password'), _('Allow the <em>root</em> user to login with password'));
33 o.default = o.enabled;
35 o = s.option(form.Flag, 'GatewayPorts', _('Gateway Ports'), _('Allow remote hosts to connect to local SSH forwarded ports'));
38 o.default = o.disabled;