6.1.8 Set SSH RhostsRSAAuthentication to no - Check if RhostsRSAAuthentication is set to no and not commented for the server.

Information

Level: 1

Solution

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

awk '/^ RhostsRSAAuthentication/ { $2 = 'no' } { 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: ACCESS CONTROL, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|AC-14, 800-53|SC-13

Plugin: Unix

Control ID: 4fa40cff200f62c5b58de6cbe6e8e626c609670d9e2af2f22764c1f529a46ce0