templates/admin/config: show SSH.StartBuiltinServer

pull/4985/merge
Unknwon 2018-03-30 01:42:35 -04:00
parent 932490d7f1
commit 63a263f542
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
3 changed files with 5 additions and 2 deletions
conf/locale
pkg/bindata
templates/admin

View File

@ -1163,6 +1163,7 @@ config.ssh_domain = Domain
config.ssh_port = Port
config.ssh_listen_port = Listen Port
config.ssh_root_path = Root Path
config.ssh_rewrite_authorized_keys_at_start = Rewrite authorized_keys At Start
config.ssh_key_test_path = Key Test Path
config.ssh_keygen_path = Keygen ('ssh-keygen') Path
config.ssh_minimum_key_size_check = Minimum Key Size Check

File diff suppressed because one or more lines are too long

View File

@ -61,6 +61,8 @@
{{if not .SSH.StartBuiltinServer}}
<dt>{{.i18n.Tr "admin.config.ssh_root_path"}}</dt>
<dd>{{.SSH.RootPath}}</dd>
<dt>{{.i18n.Tr "admin.config.ssh_rewrite_authorized_keys_at_start"}}</dt>
<dd><i class="fa fa{{if .SSH.RewriteAuthorizedKeysAtStrat}}-check{{end}}-square-o"></i></dd>
<dt>{{.i18n.Tr "admin.config.ssh_key_test_path"}}</dt>
<dd>{{.SSH.KeyTestPath}}</dd>
<dt>{{.i18n.Tr "admin.config.ssh_keygen_path"}}</dt>