cloud-init should write ssh_config.d/sshd_config.d snippets (when supported) instead of modifying config files

Bug #1871859 reported by Dan Watkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Expired
Wishlist
Unassigned

Bug Description

In OpenSSH 8.2[0], support for Include directives in ssh_config and sshd_config was introduced. In Debian/Ubuntu version 1:8.2p1-1 [1], Include directives were added to the config files shipped in the package (and in 1:8.2p1-4, the directories themselves were added).

Where available, cloud-init should use these configuration directories for its configuration, instead of modifying ssh_config or sshd_config themselves.

[0] https://www.openssh.com/txt/release-8.2
[1] https://launchpad.net/ubuntu/+source/openssh/1:8.2p1-1
[2] https://launchpad.net/ubuntu/+source/openssh/1:8.2p1-4

Dan Watkins (oddbloke)
Changed in cloud-init:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Dan Watkins (oddbloke) wrote :

For reference: as noted in https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1873528, the way in which OpenSSH processes includes is unlike other pieces of software; we should bear that in mind when implementing this.

Revision history for this message
James Falcon (falcojr) wrote :
Changed in cloud-init:
status: Triaged → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.