Add StreamLocalBindUnlink option

This option removes existing Unix-domain socket files before they are
used for forwarding targets.

Need to support gpg-agent forwarding with systemd
This commit is contained in:
Tim Fletcher 2018-03-17 15:31:32 +01:00
parent 51d4690d73
commit 4f0be6f5e7
No known key found for this signature in database
GPG key ID: 6C0463014AF4B8F0
2 changed files with 2 additions and 0 deletions

View file

@ -69,6 +69,7 @@ RekeyLimit
RevokedKeys
RhostsRSAAuthentication
ServerKeyBits
StreamLocalBindUnlink
StrictModes
Subsystem
SyslogFacility

View file

@ -140,6 +140,7 @@ Match {{ match["Condition"] }}
{{ body_option("RevokedKeys",sshd_RevokedKeys) -}}
{{ body_option("RhostsRSAAuthentication",sshd_RhostsRSAAuthentication) -}}
{{ body_option("ServerKeyBits",sshd_ServerKeyBits) -}}
{{ body_option("StreamLocalBindUnlink",sshd_StreamLocalBindUnlink) -}}
{{ body_option("StrictModes",sshd_StrictModes) -}}
{{ body_option("Subsystem",sshd_Subsystem) -}}
{{ body_option("SyslogFacility",sshd_SyslogFacility) -}}