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: e0ddc4ee6138b1135b3b5cf5b093ab2c6d2cc748a6fc61fca31dd91023fb4298