Skip to content
Snippets Groups Projects
Commit 69f9e2d1 authored by Lars Beckers's avatar Lars Beckers
Browse files

ssh-server: add option to disable forwarding

parent 02dfc4c4
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,4 @@ ssh_password_auth: true
ssh_gssapi: true
ssh_sftp_options: ""
ssh_allow_groups: []
ssh_allow_forwarding: true
......@@ -56,8 +56,16 @@ PasswordAuthentication {{ 'yes' if ssh_password_auth else 'no' }}
GSSAPIAuthentication {{ 'yes' if ssh_gssapi else 'no' }}
#GSSAPICleanupCredentials yes
{% if ssh_allow_forwarding %}
X11Forwarding yes
X11DisplayOffset 10
#AllowAgentForwarding yes
#AllowTcpForwarding yes
{% else %}
X11Forwarding no
AllowAgentForwarding no
AllowTcpForwarding no
{% endif %}
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment