blob: 9f244357d66d8411dd78a8957f505a47858f80fb [file] [log] [blame]
#!/bin/bash
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
## Section: 5.2.21 Ensure SSH AllowTcpForwarding is disabled ##
sed -i 's/^AllowTcpForwarding .*$/AllowTcpForwarding no/' /etc/ssh/sshd_config