Skip to content

Instantly share code, notes, and snippets.

@khageshsaini
Created June 21, 2018 15:03
Show Gist options
  • Select an option

  • Save khageshsaini/bbe63e7a6690bc6e9f80ad3f519822f6 to your computer and use it in GitHub Desktop.

Select an option

Save khageshsaini/bbe63e7a6690bc6e9f80ad3f519822f6 to your computer and use it in GitHub Desktop.

Revisions

  1. khageshsaini created this gist Jun 21, 2018.
    8 changes: 8 additions & 0 deletions Allow Tunneling
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    Ensure this in /etc/ssh/sshd_config

    # Disable tunneling
    PermitTunnel yes

    # Disable forwarding tcp connections.
    # no real advantage without denied shell access
    AllowTcpForwarding yes