From 34d4625aae14e47da24ffda24196aa3a10c86019 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 7 Aug 2026 07:31:52 -0400 Subject: [PATCH] doc that ssh jump works best noninteractively Since in the interactive case, we cannot call setsid() in the tunnel process, --ssh-jump works best when SSH is set up to make the connection entirely interactively. --- mycli/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mycli/main.py b/mycli/main.py index 7d3c6021..a35c95bf 100755 --- a/mycli/main.py +++ b/mycli/main.py @@ -311,7 +311,11 @@ class CliArgs: ) ssh_jump: str | None = clickdc.option( type=str, - help='Open an SSH tunnel via [user@]host[:port] and connect to MySQL through it.', + help=dedent( + """Open an SSH tunnel via [user@]host[:port] and connect to MySQL through it. + Works best if SSH is configured not to prompt for a password interactively. + """ + ), ) ssh_options: str | None = clickdc.option( type=str,