diff --git a/templates/ssh/sshd_config.erb b/templates/ssh/sshd_config.erb index d7429b865a9d3a4a8545b9b06efe9e7fdf1d300a..413c16c312a06acc7ed0a636ae578cd61b6961f0 100644 --- a/templates/ssh/sshd_config.erb +++ b/templates/ssh/sshd_config.erb @@ -4,6 +4,7 @@ # GSS-API. It will eventually become the default. The default configuration # values that we don't change are omitted from this file. +Port 22 <% if (listen_addresses != 'all') # Split the addresses at the commas. @@ -15,7 +16,6 @@ ListenAddress <%= address %> end end -%> -Port 22 # Only support protocol version 2. Protocol 2