The October patches on a Server 2019 system appears to have broken OpenSSH (after reboot).
I see that this is known (
https://stackoverflow.com/a/79087433), but none of the fixes seems to work for me.
E.G.
=========
PS C:\ProgramData\ssh> ri .\logs\ -Recurse -Force
PS C:\ProgramData\ssh> C:\Temp\OpenSSH-Win64\FixHostFilePermissions.ps1
[*] C:\ProgramData\ssh\sshd_config
looks good
[*] C:\ProgramData\ssh\ssh_host_dsa_key
looks good
[*] C:\ProgramData\ssh\ssh_host_dsa_key.pub
looks good
[*] C:\ProgramData\ssh\ssh_host_ecdsa_key
looks good
[*] C:\ProgramData\ssh\ssh_host_ecdsa_key.pub
looks good
[*] C:\ProgramData\ssh\ssh_host_ed25519_key
looks good
[*] C:\ProgramData\ssh\ssh_host_ed25519_key.pub
looks good
[*] C:\ProgramData\ssh\ssh_host_rsa_key
looks good
[*] C:\ProgramData\ssh\ssh_host_rsa_key.pub
looks good
[*] C:\Users\targetuser\.ssh\authorized_keys
looks good
Done.
==========
And
=========
C:\ProgramData\ssh> icacls .\*
.\logs NT AUTHORITY\SYSTEM:(OI)(CI)(F)
BUILTIN\Administrators:(OI)(CI)(F)
.\sshd_config NT AUTHORITY\SYSTEM:(F)
BUILTIN\Administrators:(F)
.\ssh_host_dsa_key BUILTIN\Administrators:(F)
NT AUTHORITY\SYSTEM:(F)
.\ssh_host_dsa_key.pub BUILTIN\Administrators:(F)
NT AUTHORITY\SYSTEM:(F)
.\ssh_host_ecdsa_key BUILTIN\Administrators:(F)
NT AUTHORITY\SYSTEM:(F)
.\ssh_host_ecdsa_key.pub BUILTIN\Administrators:(F)
NT AUTHORITY\SYSTEM:(F)
.\ssh_host_ed25519_key BUILTIN\Administrators:(F)
NT AUTHORITY\SYSTEM:(F)
.\ssh_host_ed25519_key.pub BUILTIN\Administrators:(F)
NT AUTHORITY\SYSTEM:(F)
.\ssh_host_rsa_key BUILTIN\Administrators:(F)
NT AUTHORITY\SYSTEM:(F)
.\ssh_host_rsa_key.pub BUILTIN\Administrators:(F)
NT AUTHORITY\SYSTEM:(F)
===========
The sshd.exe file (well, all the ssh*.exe files in C:\Windows\System32\OpenSSH) has a modification date of 10/28/2024 and version of 9.5.2.1.
Very strangely, if I run cmd as SYSTEM, I cannot even see that the c:\Windows\System32\OpenSSH directory even exists.
Anyone else dealing with this and/or have resolved it have further suggestions?
Thanks,
Erich
--
Erich Hammer Head of Library Systems
er...@albany.edu University Libraries
518-442-3891 University @ Albany
"Nearly all men can stand adversity, but if you want to test
a man's character, give him power." -- Abraham Lincoln