| Index: modules/ssh/templates/sshd_config.erb |
| diff --git a/modules/ssh/files/sshd_config b/modules/ssh/templates/sshd_config.erb |
| similarity index 95% |
| rename from modules/ssh/files/sshd_config |
| rename to modules/ssh/templates/sshd_config.erb |
| index 812e0614e46c4c7d3cd72b8380b38e7dce699200..f1e915aa200c1ff16a9ea40186f3b61472fc9f95 100644 |
| --- a/modules/ssh/files/sshd_config |
| +++ b/modules/ssh/templates/sshd_config.erb |
| @@ -60,7 +60,11 @@ PasswordAuthentication no |
| #GSSAPIAuthentication no |
| #GSSAPICleanupCredentials yes |
| +<% if @agent_forwarding and [true, 'true', 'yes'].include? @agent_forwarding -%> |
| +AllowAgentForwarding yes |
| +<% else -%> |
| AllowAgentForwarding no |
| +<% end -%> |
| AllowTcpForwarding no |
| X11Forwarding no |
| X11DisplayOffset 10 |