enable scp in default configuration

remove the deprecated enable_scp setting
This commit is contained in:
Nicola Murino
2020-03-26 23:38:24 +01:00
parent 4759254e10
commit f284008fb5
6 changed files with 5 additions and 15 deletions

View File

@@ -245,7 +245,6 @@ func TestInitialization(t *testing.T) {
sftpdConf.Umask = "invalid umask"
sftpdConf.BindPort = 2022
sftpdConf.LoginBannerFile = "invalid_file"
sftpdConf.IsSCPEnabled = true
sftpdConf.EnabledSSHCommands = append(sftpdConf.EnabledSSHCommands, "ls")
err := sftpdConf.Initialize(configDir)
if err == nil {