Skip to content

[BUG] Regression: sshd_config.d not included #116

@natewiebe13

Description

@natewiebe13

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If you run the following:

docker run --rm -it --pull always linuxserver/openssh-server:latest cat /etc/ssh/sshd_config | grep -i include

You can see that including sshd_config.d is now commented out:

#Include /etc/ssh/sshd_config.d/*.conf

Support for this was added in #106 but appears to have regressed.

Expected Behavior

The include line should not be commented out.

Steps To Reproduce

Run docker run --rm -it --pull always linuxserver/openssh-server:latest cat /etc/ssh/sshd_config | grep -i include

Environment

- OS: Ubuntu 24.04
- How docker service was installed: Docker's official APT repository

CPU architecture

x86-64

Docker creation

docker run --rm -it --pull always linuxserver/openssh-server:latest cat /etc/ssh/sshd_config | grep -i include

Container logs

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions