From a1bde30b578252b2fcc057f73990bef899a7a00c Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Fri, 27 Mar 2026 20:51:38 +1000 Subject: [PATCH] fix: disable interactive prompts for ssh connections to not interfere with TUI --- pkg/client/connector/sshcli.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/client/connector/sshcli.go b/pkg/client/connector/sshcli.go index b641b516..f32474d9 100644 --- a/pkg/client/connector/sshcli.go +++ b/pkg/client/connector/sshcli.go @@ -119,6 +119,9 @@ func (c *SSHCLIConnector) buildSSHArgs() []string { // Add connection timeout to fail fast when node is down. args = append(args, "-o", "ConnectTimeout=5") + // Disable interactive prompts (e.g., passphrase input) to prevent interference with the TUI. + // Authentication must succeed non-interactively via SSH agent or unencrypted key. + args = append(args, "-o", "BatchMode=yes") // Disable pseudo-terminal allocation to prevent SSH from executing as a login shell. args = append(args, "-T")