diff options
Diffstat (limited to 'acf2/modules/sshd.lua')
-rw-r--r-- | acf2/modules/sshd.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/acf2/modules/sshd.lua b/acf2/modules/sshd.lua index c79afd4..458d2d7 100644 --- a/acf2/modules/sshd.lua +++ b/acf2/modules/sshd.lua @@ -1,22 +1,22 @@ --[[ Copyright (c) 2013 Natanael Copa <ncopa@alpinelinux.org> -Copyright (c) 2013 Kaarle Ritvanen +Copyright (c) 2013-2014 Kaarle Ritvanen See LICENSE file for license details --]] local M = require('acf2.model') local Sshd = M.service('sshd') -Sshd['root-login'] = M.Boolean{ +Sshd.root_login = M.Boolean{ addr='PermitRootLogin', ui_name='Permit root login', default=true } -Sshd['password-auth'] = M.Boolean{ +Sshd.password_auth = M.Boolean{ addr='PasswordAuthentication', ui_name='Password authentication', default=true } -Sshd['use-dns'] = M.Boolean{addr='UseDNS', ui_name='Use DNS', default=true} -Sshd['agent-forward'] = M.Boolean{ +Sshd.use_dns = M.Boolean{addr='UseDNS', ui_name='Use DNS', default=true} +Sshd.agent_forward = M.Boolean{ addr='AllowAgentForwarding', ui_name='Allow agent forwarding', default=true } |