You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that executing `Add-WindowsCapability` via WinRM is not
viable, this commit moves the installation of OpenSSH.Server to the
various IaaS pre-boot scrips which are not executed via WinRM.
The installation of OpenSSSH.Server was added as follows:
Azure: add a `custom_script` parameter to packer config
AWS: added to `setup_winrm.txt`
GCP: add to `setup-winrm.ps1` and use `sysprep-specialize-script-ps1`
As of July 2025 windows stemcells have converted to using Microsoft's
official OpenSSH installation method[1]. This commit remove the remnants
of previous installation methods, and switches to the above non-WinRM
method for installation.
[1] https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
0 commit comments