ssh kitten: Passthrough when -V is specified

Fixes #7515
This commit is contained in:
Kovid Goyal
2024-06-06 19:52:35 +05:30
parent 50d5deb9fe
commit a6c7744119

View File

@@ -119,7 +119,7 @@ func (self *ErrInvalidSSHArgs) Error() string {
}
func PassthroughArgs() map[string]bool {
return map[string]bool{"-N": true, "-n": true, "-f": true, "-G": true, "-T": true}
return map[string]bool{"-N": true, "-n": true, "-f": true, "-G": true, "-T": true, "-V": true}
}
func ParseSSHArgs(args []string, extra_args ...string) (ssh_args []string, server_args []string, passthrough bool, found_extra_args []string, err error) {