Skip to content

Commit 95d97a5

Browse files
Jakujerichm
authored andcommitted
feat: Add new configuration optoin VersionAddendum
Signed-off-by: Jakub Jelen <[email protected]>
1 parent 2d64a70 commit 95d97a5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.dev-tools/options_body

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,6 @@ UsePrivilegedPort
111111
User
112112
UserKnownHostsFile
113113
VerifyHostKeyDNS
114+
VersionAddendum
114115
VisualHostKey
115116
XAuthLocation

templates/ssh_config.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ Match {{ match["Condition"] }}
156156
{{ render_option("User", match["User"], true) -}}
157157
{{ render_option("UserKnownHostsFile", match["UserKnownHostsFile"], true) -}}
158158
{{ render_option("VerifyHostKeyDNS", match["VerifyHostKeyDNS"], true) -}}
159+
{{ render_option("VersionAddendum", match["VersionAddendum"], true) -}}
159160
{{ render_option("VisualHostKey", match["VisualHostKey"], true) -}}
160161
{{ render_option("XAuthLocation", match["XAuthLocation"], true) -}}
161162
{% endfor %}
@@ -281,6 +282,7 @@ Host {{ host["Condition"] }}
281282
{{ render_option("User", host["User"], true) -}}
282283
{{ render_option("UserKnownHostsFile", host["UserKnownHostsFile"], true) -}}
283284
{{ render_option("VerifyHostKeyDNS", host["VerifyHostKeyDNS"], true) -}}
285+
{{ render_option("VersionAddendum", host["VersionAddendum"], true) -}}
284286
{{ render_option("VisualHostKey", host["VisualHostKey"], true) -}}
285287
{{ render_option("XAuthLocation", host["XAuthLocation"], true) -}}
286288
{% endfor %}
@@ -399,6 +401,7 @@ Host {{ host["Condition"] }}
399401
{{ body_option("User", ssh_User) -}}
400402
{{ body_option("UserKnownHostsFile", ssh_UserKnownHostsFile) -}}
401403
{{ body_option("VerifyHostKeyDNS", ssh_VerifyHostKeyDNS) -}}
404+
{{ body_option("VersionAddendum", ssh_VersionAddendum) -}}
402405
{{ body_option("VisualHostKey", ssh_VisualHostKey) -}}
403406
{{ body_option("XAuthLocation", ssh_XAuthLocation) -}}
404407
{% if ssh['Match'] is defined %}

0 commit comments

Comments
 (0)