canonical / canonical/cloud-init

Fix sshd configuration with pre-existing drop-in files

Open
#5,879 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

# Bug report
This was not reported as an issue in the wild, but as a hypothetical when discussion the impacts of drop in files [on Launchpad](https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2088207).

Cloud-init uses a hard-coded drop-in file at `/etc/ssh/sshd_config.d/50-cloud-init.conf` to update the sshd configuration. Pre-existing drop-in files may supersede this file. Cloud-init's implementation is buggy in the case that another drop-in file takes priority.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.