瀏覽代碼

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

tags/v0.41.0
Simon Pirschel 8 年之前
父節點
當前提交
2a1b8fbc66
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      openssh/files/sshd_config

+ 4
- 0
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

Loading…
取消
儲存