sshd_config template: refactor connection keep alive. Refs #2147