Skip to content

Add/Provide a feature flag to exclude Host-Key Algorithms for the SSHD Plugin #248

@hpriya19

Description

@hpriya19

What feature do you want to see added?

The SSHD Server Plugin currently supports EXCLUDED_MACS, EXCLUDED_KEY_EXCHANGES, and ENABLED_CIPHERS (which already omits all cbc* ciphers). However, it does not provide a way to exclude specific host-key algorithms or to explicitly enable modern host-key types.

We need the ability to disable ssh-rsa (flagged as weak by our security team) and to enable ECDSA/ED25519 host-key algorithms. Requesting support for configuration options that allow selecting or excluding host-key algorithms accordingly.

We are using SSHD Server version: 3.237.v883d165a_c1d3
Jenkins Core version: 2.492.3

Upstream changes

Flag introduced in https://github.com/jenkinsci/sshd-plugin/blob/3.237.v883d165a_c1d3/src/main/java/org/jenkinsci/main/modules/sshd/SSHD.java

Are you interested in contributing this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions