Skip to content

fix: Fix ssh for windows nodes#303

Merged
christinalau0 merged 1 commit intoAzure:masterfrom
christinalau0:fix-windows-ssh
Mar 13, 2025
Merged

fix: Fix ssh for windows nodes#303
christinalau0 merged 1 commit intoAzure:masterfrom
christinalau0:fix-windows-ssh

Conversation

@christinalau0
Copy link
Contributor

@christinalau0 christinalau0 commented Mar 13, 2025

Reason for Change:

The root cause is the Windows server 2019 base image (since Oct 2024). Installing openssh server causes issues when the openssh client is installed and patched - due to the new way windows handles features. The solution is to remove the open ssh client before installing the open ssh server.

Additionally this PR updates the ssh install script to address CVEs. This matches upstream AgentBaker's latest updates: https://github.com/Azure/AgentBaker/blob/master/vhdbuilder/packer/windows/configure-windows-vhd.ps1#L527

Issue Fixed:

Credit Where Due:

Does this change contain code from or inspired by another project?

  • No
  • Yes

If "Yes," did you notify that project's maintainers and provide attribution?

  • No
  • Yes

Requirements:

Notes:

@christinalau0
Copy link
Contributor Author

Validated on Azure Stack Hub.

@christinalau0 christinalau0 merged commit ca2869a into Azure:master Mar 13, 2025
2 checks passed
@christinalau0 christinalau0 deleted the fix-windows-ssh branch March 13, 2025 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants