Skip to content

Commit ab6e7ec

Browse files
authored
Merge pull request #26 from Jakuje/openssh-8.7p1
Add new configuration options from Openssh 8.7p1
2 parents 5b1547f + 807aa9a commit ab6e7ec

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

.dev-tools/10_top.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# {{ ansible_managed }}
1+
{{ ansible_managed | comment }}
22
{% macro render_option(key,value,indent=false) %}
33
{% if value is defined %}
44
{% if indent %} {% endif %}

.dev-tools/options_body

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ EnableSSHKeysign
2727
EscapeChar
2828
ExitOnForwardFailure
2929
FingerprintHash
30+
ForkAfterAuthentication
3031
ForwardAgent
3132
ForwardX11
3233
ForwardX11Timeout
@@ -90,7 +91,9 @@ SecurityKeyProvider
9091
SendEnv
9192
ServerAliveCountMax
9293
ServerAliveInterval
94+
SessionType
9395
SetEnv
96+
StdinNull
9497
StreamLocalBindMask
9598
StreamLocalBindUnlink
9699
StrictHostKeyChecking

templates/ssh_config.j2

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Match {{ match["Condition"] }}
6262
{{ render_option("EscapeChar",match["EscapeChar"],true) -}}
6363
{{ render_option("ExitOnForwardFailure",match["ExitOnForwardFailure"],true) -}}
6464
{{ render_option("FingerprintHash",match["FingerprintHash"],true) -}}
65+
{{ render_option("ForkAfterAuthentication",match["ForkAfterAuthentication"],true) -}}
6566
{{ render_option("ForwardAgent",match["ForwardAgent"],true) -}}
6667
{{ render_option("ForwardX11",match["ForwardX11"],true) -}}
6768
{{ render_option("ForwardX11Timeout",match["ForwardX11Timeout"],true) -}}
@@ -125,7 +126,9 @@ Match {{ match["Condition"] }}
125126
{{ render_option("SendEnv",match["SendEnv"],true) -}}
126127
{{ render_option("ServerAliveCountMax",match["ServerAliveCountMax"],true) -}}
127128
{{ render_option("ServerAliveInterval",match["ServerAliveInterval"],true) -}}
129+
{{ render_option("SessionType",match["SessionType"],true) -}}
128130
{{ render_option("SetEnv",match["SetEnv"],true) -}}
131+
{{ render_option("StdinNull",match["StdinNull"],true) -}}
129132
{{ render_option("StreamLocalBindMask",match["StreamLocalBindMask"],true) -}}
130133
{{ render_option("StreamLocalBindUnlink",match["StreamLocalBindUnlink"],true) -}}
131134
{{ render_option("StrictHostKeyChecking",match["StrictHostKeyChecking"],true) -}}
@@ -179,6 +182,7 @@ Host {{ host["Condition"] }}
179182
{{ render_option("EscapeChar",host["EscapeChar"],true) -}}
180183
{{ render_option("ExitOnForwardFailure",host["ExitOnForwardFailure"],true) -}}
181184
{{ render_option("FingerprintHash",host["FingerprintHash"],true) -}}
185+
{{ render_option("ForkAfterAuthentication",host["ForkAfterAuthentication"],true) -}}
182186
{{ render_option("ForwardAgent",host["ForwardAgent"],true) -}}
183187
{{ render_option("ForwardX11",host["ForwardX11"],true) -}}
184188
{{ render_option("ForwardX11Timeout",host["ForwardX11Timeout"],true) -}}
@@ -242,7 +246,9 @@ Host {{ host["Condition"] }}
242246
{{ render_option("SendEnv",host["SendEnv"],true) -}}
243247
{{ render_option("ServerAliveCountMax",host["ServerAliveCountMax"],true) -}}
244248
{{ render_option("ServerAliveInterval",host["ServerAliveInterval"],true) -}}
249+
{{ render_option("SessionType",host["SessionType"],true) -}}
245250
{{ render_option("SetEnv",host["SetEnv"],true) -}}
251+
{{ render_option("StdinNull",host["StdinNull"],true) -}}
246252
{{ render_option("StreamLocalBindMask",host["StreamLocalBindMask"],true) -}}
247253
{{ render_option("StreamLocalBindUnlink",host["StreamLocalBindUnlink"],true) -}}
248254
{{ render_option("StrictHostKeyChecking",host["StrictHostKeyChecking"],true) -}}
@@ -289,6 +295,7 @@ Host {{ host["Condition"] }}
289295
{{ body_option("EscapeChar",ssh_EscapeChar) -}}
290296
{{ body_option("ExitOnForwardFailure",ssh_ExitOnForwardFailure) -}}
291297
{{ body_option("FingerprintHash",ssh_FingerprintHash) -}}
298+
{{ body_option("ForkAfterAuthentication",ssh_ForkAfterAuthentication) -}}
292299
{{ body_option("ForwardAgent",ssh_ForwardAgent) -}}
293300
{{ body_option("ForwardX11",ssh_ForwardX11) -}}
294301
{{ body_option("ForwardX11Timeout",ssh_ForwardX11Timeout) -}}
@@ -352,7 +359,9 @@ Host {{ host["Condition"] }}
352359
{{ body_option("SendEnv",ssh_SendEnv) -}}
353360
{{ body_option("ServerAliveCountMax",ssh_ServerAliveCountMax) -}}
354361
{{ body_option("ServerAliveInterval",ssh_ServerAliveInterval) -}}
362+
{{ body_option("SessionType",ssh_SessionType) -}}
355363
{{ body_option("SetEnv",ssh_SetEnv) -}}
364+
{{ body_option("StdinNull",ssh_StdinNull) -}}
356365
{{ body_option("StreamLocalBindMask",ssh_StreamLocalBindMask) -}}
357366
{{ body_option("StreamLocalBindUnlink",ssh_StreamLocalBindUnlink) -}}
358367
{{ body_option("StrictHostKeyChecking",ssh_StrictHostKeyChecking) -}}

0 commit comments

Comments
 (0)