| Index: modules/ssh/templates/sshd_config.erb |
| diff --git a/modules/ssh/templates/sshd_config.erb b/modules/ssh/templates/sshd_config.erb |
| index f1e915aa200c1ff16a9ea40186f3b61472fc9f95..2507559a74dd3bc144d6e6478e3494890c4c7472 100644 |
| --- a/modules/ssh/templates/sshd_config.erb |
| +++ b/modules/ssh/templates/sshd_config.erb |
| @@ -65,7 +65,13 @@ AllowAgentForwarding yes |
| <% else -%> |
| AllowAgentForwarding no |
| <% end -%> |
| + |
| +<% if @tcp_forwarding and [true, 'true', 'yes'].include? @tcp_forwarding -%> |
| +AllowTcpForwarding yes |
| +<% else -%> |
| AllowTcpForwarding no |
| +<% end -%> |
| + |
| X11Forwarding no |
| X11DisplayOffset 10 |
| PrintMotd no |