(key, value string)
| 976 | } |
| 977 | |
| 978 | func normalizeSSHDirectiveValue(key, value string) string { |
| 979 | if strings.EqualFold(key, "PermitRootLogin") && value == "prohibit-password" { |
| 980 | return "without-password" |
| 981 | } |
| 982 | return value |
| 983 | } |
| 984 | |
| 985 | func loadFirstSSHDirectiveValue(directives []sshDirective, key string) (string, bool) { |
| 986 | for _, item := range directives { |
no outgoing calls
no test coverage detected