Add BOSH properties for configurable diego-sshd SSH algorithms#627
Merged
philippthun merged 1 commit intocloudfoundry:developfrom Mar 12, 2026
Merged
Conversation
johha
reviewed
Mar 11, 2026
Adds four optional BOSH properties under cc.diego.sshd to allow operators to configure SSH algorithms for diego-sshd running in application containers: - allowed_ciphers - allowed_host_key_algorithms - allowed_key_exchanges - allowed_macs Properties are configured in cloud_controller_ng job and consumed by worker, clock, and deployment_updater jobs via the cloud_controller_internal link. When properties are set, they are passed as command-line flags to diego-sshd. When not set, the sshd configuration section is omitted and diego-sshd uses its defaults.
800c5c1 to
fe419a0
Compare
johha
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for landscape operators to configure SSH algorithms for
diego-sshdrunning in application containers.New BOSH properties under
cc.diego.sshd(configured only incloud_controller_ng):allowed_ciphers: Comma separated list of allowed SSH cipher algorithmsallowed_host_key_algorithms: Comma separated list of allowed host key algorithmsallowed_key_exchanges: Comma separated list of allowed key exchange algorithmsallowed_macs: Comma separated list of allowed MAC algorithmsWhen properties are set, they are passed as command-line flags to
diego-sshd. When not set, thesshdconfiguration section is omitted anddiego-sshduses its defaults.The properties are exposed via the
cloud_controller_internalBOSH link and consumed by:I have viewed signed and have submitted the Contributor License Agreement
I have made this pull request to the
developbranchI have run CF Acceptance Tests on bosh lite