Skip to content

Add BOSH properties for configurable diego-sshd SSH algorithms#627

Merged
philippthun merged 1 commit intocloudfoundry:developfrom
sap-contributions:sshd-config
Mar 12, 2026
Merged

Add BOSH properties for configurable diego-sshd SSH algorithms#627
philippthun merged 1 commit intocloudfoundry:developfrom
sap-contributions:sshd-config

Conversation

@philippthun
Copy link
Member

@philippthun philippthun commented Mar 6, 2026

Add support for landscape operators to configure SSH algorithms for diego-sshd running in application containers.

New BOSH properties under cc.diego.sshd (configured only in cloud_controller_ng):

  • allowed_ciphers: Comma separated list of allowed SSH cipher algorithms
  • allowed_host_key_algorithms: Comma separated list of allowed host key algorithms
  • allowed_key_exchanges: Comma separated list of allowed key exchange algorithms
  • allowed_macs: Comma separated list of allowed MAC algorithms

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.

The properties are exposed via the cloud_controller_internal BOSH link and consumed by:

  • cloud_controller_worker
  • cloud_controller_clock
  • cc_deployment_updater
  • I have viewed signed and have submitted the Contributor License Agreement

  • I have made this pull request to the develop branch

  • I have run CF Acceptance Tests on bosh lite

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.
@philippthun philippthun merged commit 724f30a into cloudfoundry:develop Mar 12, 2026
2 checks passed
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.

Support configurable SSHD algorithms to disable weak/legacy defaults

2 participants