From 8c4b7dfdce5bba80a8bedd84838b9a340d68c16e Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 1 Jan 2026 23:22:54 +0100 Subject: [PATCH] feat: Add new configuration optoin VersionAddendum Signed-off-by: Jakub Jelen --- .dev-tools/options_body | 1 + templates/ssh_config.j2 | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.dev-tools/options_body b/.dev-tools/options_body index daea5f7e..533f2281 100644 --- a/.dev-tools/options_body +++ b/.dev-tools/options_body @@ -111,5 +111,6 @@ UsePrivilegedPort User UserKnownHostsFile VerifyHostKeyDNS +VersionAddendum VisualHostKey XAuthLocation diff --git a/templates/ssh_config.j2 b/templates/ssh_config.j2 index 9eb43e95..8d560d8e 100644 --- a/templates/ssh_config.j2 +++ b/templates/ssh_config.j2 @@ -156,6 +156,7 @@ Match {{ match["Condition"] }} {{ render_option("User", match["User"], true) -}} {{ render_option("UserKnownHostsFile", match["UserKnownHostsFile"], true) -}} {{ render_option("VerifyHostKeyDNS", match["VerifyHostKeyDNS"], true) -}} +{{ render_option("VersionAddendum", match["VersionAddendum"], true) -}} {{ render_option("VisualHostKey", match["VisualHostKey"], true) -}} {{ render_option("XAuthLocation", match["XAuthLocation"], true) -}} {% endfor %} @@ -281,6 +282,7 @@ Host {{ host["Condition"] }} {{ render_option("User", host["User"], true) -}} {{ render_option("UserKnownHostsFile", host["UserKnownHostsFile"], true) -}} {{ render_option("VerifyHostKeyDNS", host["VerifyHostKeyDNS"], true) -}} +{{ render_option("VersionAddendum", host["VersionAddendum"], true) -}} {{ render_option("VisualHostKey", host["VisualHostKey"], true) -}} {{ render_option("XAuthLocation", host["XAuthLocation"], true) -}} {% endfor %} @@ -399,6 +401,7 @@ Host {{ host["Condition"] }} {{ body_option("User", ssh_User) -}} {{ body_option("UserKnownHostsFile", ssh_UserKnownHostsFile) -}} {{ body_option("VerifyHostKeyDNS", ssh_VerifyHostKeyDNS) -}} +{{ body_option("VersionAddendum", ssh_VersionAddendum) -}} {{ body_option("VisualHostKey", ssh_VisualHostKey) -}} {{ body_option("XAuthLocation", ssh_XAuthLocation) -}} {% if ssh['Match'] is defined %}