From aec3c82c486d636d279f95717eb0d5c91fadf618 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 5 Nov 2025 19:35:36 +0530 Subject: [PATCH] ssh kitten: Fix a bug where automatic login was not working Fixes #9187 --- docs/changelog.rst | 2 ++ kittens/ssh/config.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 0b899cb55..f8fe020d0 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -142,6 +142,8 @@ Detailed list of changes - Add a mappable action :ac:`copy_last_command_output` to copy the output of the last command to the clipboard (:pull:`9185`) +- ssh kitten: Fix a bug where automatic login was not working (:iss:`9187`) + 0.44.0 [2025-11-03] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/kittens/ssh/config.go b/kittens/ssh/config.go index 7cfd6cf22..9b987f9ec 100644 --- a/kittens/ssh/config.go +++ b/kittens/ssh/config.go @@ -52,7 +52,7 @@ func resolve_secrets(c *Config, only_syntax bool) error { if r, err := resolve_secret("totp_secret", c.Totp_secret); err != nil { return err } else { - c.Password = r + c.Totp_secret = r } return nil }