From 2a1b8fbc66ecfe580861e452f11a8e4834622e65 Mon Sep 17 00:00:00 2001 From: Simon Pirschel Date: Tue, 1 Nov 2016 13:24:30 +0100 Subject: [PATCH] fix issue sshd won't start if AddressFamily is specified, because it must be defined before ListenAddress --- openssh/files/sshd_config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openssh/files/sshd_config b/openssh/files/sshd_config index a45f9b9..9e14601 100644 --- a/openssh/files/sshd_config +++ b/openssh/files/sshd_config @@ -47,6 +47,10 @@ # quick reference. # See the sshd_config(5) manpage for details +# Specifies which address family should be used by sshd(8). +# Valid arguments are any, inet (use IPv4 only), or inet6 (use IPv6 only) +{{ option('AddressFamily', 'any') }} + # What ports, IPs and protocols we listen for {{ option('Port', 22) }} # Use these options to restrict which interfaces/protocols sshd will bind to