Microsoft has acknowledged that Windows 11 updates from October have disrupted SSH connections on certain 22H2 and 23H2 systems. The problem primarily affects enterprise, IoT, and education customers, though only a limited number of devices are reportedly impacted. Investigations are ongoing to determine if Windows 11 Home and Pro editions face similar issues.
According to Microsoft, the issue occurs after installing October’s security updates, causing the OpenSSH service to fail without detailed logs and requiring manual intervention to start the sshd.exe
process. For a temporary workaround, Microsoft advises updating access control list (ACL) permissions on specific directories to allow SYSTEM and Administrators full control while ensuring read access for Authenticated Users.
To apply this fix, run the following PowerShell script: $directoryPath = "C:\\ProgramData\\ssh"
$acl = Get-Acl -Path $directoryPath
$sddlString = "O:BAD:PAI(A;OICI;FA;;;SY)(A;OICI;FA;;;BA)(A;OICI;0x1200a9;;;AU)"
$securityDescriptor = New-Object System.Security.AccessControl.RawSecurityDescriptor $sddlString
$acl.SetSecurityDescriptorSddlForm($securityDescriptor.GetSddlForm("All"))
Set-Acl -Path $directoryPath -AclObject $acl
Microsoft is working on a permanent solution, which will be distributed in a future update. Additionally, the October updates resolved issues involving fingerprint sensor freezes on Windows 11 24H2 devices and lifted related upgrade holds.
Read more...