1.136 SOL-11.1-050460

Information

The operating system must terminate all sessions and network connections when nonlocal maintenance is completed.

GROUP ID: V-216162RULE ID: SV-216162r986457

Nonlocal maintenance and diagnostic activities are those activities conducted by individuals communicating through a network, either an external network (e.g., the internet) or an internal network.

The operating system needs to ensure all sessions and network connections are terminated when nonlocal maintenance is completed.

Solution

The root role is required.

Configure the system to disconnect SSH sessions after 10 minutes of inactivity.

pfedit /etc/ssh/sshd_config

Insert the two lines:

ClientAliveInterval 600ClientAliveCountMax 0

Restart the SSH service with the new configuration.

svcadm restart svc:/network/ssh

See Also

https://workbench.cisecurity.org/benchmarks/23873