<% local form = ... require("viewfunctions") %> <% function checked(b) if b then return "checked" end return "" end port = form.config.Port listen_address = form.config.ListenAddress use_dns = checked(form.config.UseDNS) password_authentication = checked(form.config.PasswordAuthentication) permit_root_login = checked(form.config.PermitRootLogin) %>

SSH Configuration

<% local myform = form.status local tags = { "status", "version", "autostart", } -- displayinfo(myform,tags,"viewonly") %>
/>
/>
/>
 
<% -- Management buttons local myform = form.management local tags = { "start", "stop", "restart" } if (myform) then io.write("

MANAGEMENT

\n
") displaymanagement(myform,tags) io.write("
") end %>