diff --git a/kittens/ssh/askpass.go b/kittens/ssh/askpass.go index a67f0cb40..bf086ffca 100644 --- a/kittens/ssh/askpass.go +++ b/kittens/ssh/askpass.go @@ -95,9 +95,10 @@ func RunSSHAskpass() { } if is_fingerprint_check { response = strings.ToLower(response) - if response == "y" { + switch response { + case "y": response = "yes" - } else if response == "n" { + case "n": response = "no" } }