diff options
Diffstat (limited to 'templates/sshd_config/OpenBSD_normal.erb')
| -rw-r--r-- | templates/sshd_config/OpenBSD_normal.erb | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/templates/sshd_config/OpenBSD_normal.erb b/templates/sshd_config/OpenBSD_normal.erb index e62b3c1..32f6780 100644 --- a/templates/sshd_config/OpenBSD_normal.erb +++ b/templates/sshd_config/OpenBSD_normal.erb @@ -14,10 +14,12 @@ Port <%= real_sshd_port %>  Port 22  <%- end %> +# Use these options to restrict which interfaces/protocols sshd will bind to +<% for address in real_sshd_listen_address -%> +ListenAddress <%= address %> +<% end -%>  #Protocol 2,1  #AddressFamily any -#ListenAddress 0.0.0.0 -#ListenAddress ::  # HostKey for protocol version 1  #HostKey /etc/ssh/ssh_host_key | 
