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

@@ -67,7 +67,7 @@ var (
setstatMode int
supportedSSHCommands = []string{"scp", "md5sum", "sha1sum", "sha256sum", "sha384sum", "sha512sum", "cd", "pwd",
"git-receive-pack", "git-upload-pack", "git-upload-archive", "rsync"}
defaultSSHCommands = []string{"md5sum", "sha1sum", "cd", "pwd"}
defaultSSHCommands = []string{"md5sum", "sha1sum", "cd", "pwd", "scp"}
sshHashCommands = []string{"md5sum", "sha1sum", "sha256sum", "sha384sum", "sha512sum"}
systemCommands = []string{"git-receive-pack", "git-upload-pack", "git-upload-archive", "rsync"}
)