mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
os_sshd_unused_connection_timeout_configure for dev_sonoma typo error #149
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cipineda on GitHub.
Originally assigned to: @robertgendler on GitHub.
Summary
The os_sshd_unused_connection_timeout_configure for dev_sonoma as a typo error that is causing sshd config to fail.
The code looks and writes
unusedconnection**e**timeoutwhen it should beunusedconnectiontimeouton the file/etc/ssh/sshd_config.d/01-mscp-sshd.conf(Summarize the bug encountered concisely)
Steps to reproduce
/usr/sbin/sshd -G | /usr/bin/grep -c "^banner /etc/banner"/etc/ssh/sshd_config.d/01-mscp-sshd.conf: line 35: Bad configuration option: unusedconnectionetimeout
/etc/ssh/sshd_config.d/01-mscp-sshd.conf: terminating, 1 bad configuration options
Operating System version
macOS Sonoma 14 Beta 7 (23A5337a)
Intel or Apple Silicon
both
What is the current bug behavior?
/usr/sbin/sshd -G | /usr/bin/grep -c "^banner /etc/banner"/etc/ssh/sshd_config.d/01-mscp-sshd.conf: line 35: Bad configuration option: unusedconnectionetimeout
/etc/ssh/sshd_config.d/01-mscp-sshd.conf: terminating, 1 bad configuration options
What is the expected correct behavior?
Relevant logs and/or screenshots
Output of checks
/etc/ssh/sshd_config.d/01-mscp-sshd.conf: line 35: Bad configuration option: unusedconnectionetimeout
/etc/ssh/sshd_config.d/01-mscp-sshd.conf: terminating, 1 bad configuration options
Possible fixes
Replace the
unusedconnectionetimeoutwithunusedconnectiontimeouton the remediation script for theos_sshd_unused_connection_timeout_configure@cipineda commented on GitHub:
I sync'd and now see the correction.