From a6c77441191a9b8ffdf1cc76e990b97f0b6d5163 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 6 Jun 2024 19:52:35 +0530 Subject: [PATCH] ssh kitten: Passthrough when -V is specified Fixes #7515 --- kittens/ssh/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittens/ssh/utils.go b/kittens/ssh/utils.go index e28aa0a5e..5dd2c932c 100644 --- a/kittens/ssh/utils.go +++ b/kittens/ssh/utils.go @@ -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) {