fix issue sshd won't start if AddressFamily is specified, because it must be defined before ListenAddress

This commit is contained in:
Simon Pirschel 2016-11-01 13:24:30 +01:00
parent ec663a6f5e
commit 2a1b8fbc66

View File

@ -47,6 +47,10 @@
# quick reference. # quick reference.
# See the sshd_config(5) manpage for details # 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 # What ports, IPs and protocols we listen for
{{ option('Port', 22) }} {{ option('Port', 22) }}
# Use these options to restrict which interfaces/protocols sshd will bind to # Use these options to restrict which interfaces/protocols sshd will bind to