(directives []sshDirective)
| 1004 | } |
| 1005 | |
| 1006 | func loadSSHPortValues(directives []sshDirective) []string { |
| 1007 | values := loadSSHDirectiveValues(directives, "Port") |
| 1008 | if len(values) == 0 { |
| 1009 | return []string{defaultSSHPort} |
| 1010 | } |
| 1011 | return values |
| 1012 | } |
| 1013 | |
| 1014 | func updateSSHDirectiveValue(key, value string, directives []sshDirective) error { |
| 1015 | if key == "Port" || key == "ListenAddress" { |
no test coverage detected