Improved parameter validation for sshd_config and ssh_config