From b0cb2bb0110e8a1ec9c6fa5b479dd8a5cd1986f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannik=20Gl=C3=BCckert?= Date: Wed, 3 Dec 2025 22:27:31 +0100 Subject: [PATCH] fix ssh config parsing for HostName MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A later invocation to url.Parse() needs a preceding scheme, otherwise the hostname just gets discarded. Fixes #25067 Signed-off-by: Jannik Glückert Signed-off-by: KILA <32559459+kila-star1127@users.noreply.github.com> --- pkg/bindings/connection.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/bindings/connection.go b/pkg/bindings/connection.go index 178896974e..4ce2088e56 100644 --- a/pkg/bindings/connection.go +++ b/pkg/bindings/connection.go @@ -217,7 +217,7 @@ func sshClient(_url *url.URL, uri string, identity string, machine bool) (Connec } if val := cfg.Get(alias, "Hostname"); val != "" { - uri = val + uri = "ssh://" + val found = true }