canonical / canonical/cloud-init

cc_ssh: sshd is not enabled on *BSD

Open
#4,015 1 comment 0 reactions 0 assignees View on GitHub
bug launchpad
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

This bug was originally filed in Launchpad as [LP: #1989743](https://bugs.launchpad.net/cloud-init/+bug/1989743)

Launchpad details

affected_projects = []

assignee = None
assignee_name = None
date_closed = None
date_created = 2022-09-15T16:09:52.961199+00:00
date_fix_committed = None
date_fix_released = None
id = 1989743
importance = medium
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1989743
milestone = None
owner = minagalic
owner_name = Mina Galić
private = False
status = triaged
submitter = minagalic
submitter_name = Mina Galić
tags = []
duplicates = []

_Launchpad user **Mina Galić(minagalic)** wrote on 2022-09-15T16:09:52.961199+00:00_

Most BSD systems don't come with many services enabled, so taking a standard FreeBSD VM image and putting cloud-init on it will generate SSH keys, but it won't enable sshd

I reckon we can use distros.rhel_util to set `sshd_enable=YES`

We can then start the service or rely on a reboot.

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.