11.1 Samba: Enable SSH Port Forwarding in Web Admin Tool

Information

Samba supports use of SSH to secure the client server connection.

Solution

Perform the following to implement the recommended state:
# awk '/^AllowTcpForwarding/ { $2 = "yes" }
{ print }' /etc/ssh/sshd_config > /etc/ssh/sshd_config.new
# /usr/bin/mv /etc/ssh/sshd_config.new /etc/ssh/sshd_config
# /usr/sbin/pkgchk -f -n -p /etc/ssh/sshd_config
# /usr/sbin/svcadm restart svc:/network/ssh

See Also

https://workbench.cisecurity.org/files/614

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: 9ab44717a55f4dbb15a2f8b5edd8d63074e8555651fe31f7f3603beb763243e8