add default values for SSH settings (#500)
This commit is contained in:
parent
799d0c2030
commit
ac51caa517
|
@ -79,7 +79,7 @@ var (
|
||||||
LandingPageURL LandingPage
|
LandingPageURL LandingPage
|
||||||
UnixSocketPermission uint32
|
UnixSocketPermission uint32
|
||||||
|
|
||||||
SSH struct {
|
SSH = struct {
|
||||||
Disabled bool `ini:"DISABLE_SSH"`
|
Disabled bool `ini:"DISABLE_SSH"`
|
||||||
StartBuiltinServer bool `ini:"START_SSH_SERVER"`
|
StartBuiltinServer bool `ini:"START_SSH_SERVER"`
|
||||||
Domain string `ini:"SSH_DOMAIN"`
|
Domain string `ini:"SSH_DOMAIN"`
|
||||||
|
@ -91,6 +91,12 @@ var (
|
||||||
KeygenPath string `ini:"SSH_KEYGEN_PATH"`
|
KeygenPath string `ini:"SSH_KEYGEN_PATH"`
|
||||||
MinimumKeySizeCheck bool `ini:"-"`
|
MinimumKeySizeCheck bool `ini:"-"`
|
||||||
MinimumKeySizes map[string]int `ini:"-"`
|
MinimumKeySizes map[string]int `ini:"-"`
|
||||||
|
}{
|
||||||
|
Disabled: false,
|
||||||
|
StartBuiltinServer: false,
|
||||||
|
Domain: "localhost",
|
||||||
|
Port: 22,
|
||||||
|
KeygenPath: "ssh-keygen",
|
||||||
}
|
}
|
||||||
|
|
||||||
LFS struct {
|
LFS struct {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user