6.1.2 Set SSH Protocol to 2 - Check if Protocol is set to 2 and not commented for client.

Information

Level: 1

Solution

Edit the /etc/ssh/sshd_config file to set the parameter as follows-

awk '/^Protocol/ { $2 = '2' } { 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://benchmarks.cisecurity.org/tools2/solaris/CIS_Oracle_Solaris_10_Benchmark_v5.2.0.pdf

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7

Plugin: Unix

Control ID: f507e2f3cf0e6b0db8346b2e2ef0d508214d461ae22d08d631f8858a95519154