Skip to content

Commit 6145d15

Browse files
authored
Merge pull request #26 from kitknox/acceptenv
Fix case mismatch in default acceptenv values
2 parents fb8f69a + a66ca51 commit 6145d15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tsshd/sshd_config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func parseSshdConfig(path, user string, groups []string) {
130130
// We follow this convention as our internal default. However, we also
131131
// support explicitly setting AcceptEnv to an empty value in the
132132
// configuration to override this behavior and clear all accepted variables.
133-
sshdConfigMap["AcceptEnv"] = "LANG LC_*"
133+
sshdConfigMap["acceptenv"] = "LANG LC_*"
134134

135135
file, err := os.Open(path)
136136
if err != nil {

0 commit comments

Comments
 (0)