Install OpenSSH Server from the Win32-OpenSSH zip

Carry the zip for the host architecture in the seed ISO and add
06-Install-OpenSSH-Zip-Admin.bat, which installs from it instead of
Windows Update. Update vm-images.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-19 14:28:13 +08:00
1 parent 07355a41f1
commit 552a292894
6 files changed
+93 -5

No files matched your search

+6
View File
@@ -151,6 +151,12 @@ function Copy-InstallerScripts {
$target = Join-Path ([Environment]::GetFolderPath('Desktop')) 'Installers'
New-Item -ItemType Directory -Path $target -Force | Out-Null
Copy-Item -Path $scripts.FullName -Destination $target -Force
# 05-Install-OpenSSH-Admin.bat installs from this zip when it is present.
$zips = @(Get-ChildItem -Path $PSScriptRoot -Filter 'OpenSSH-*.zip' -File)
if ($zips.Count -gt 0) {
Copy-Item -Path $zips.FullName -Destination $target -Force
}
}
$exitCode = 0