doesn't honor host key paths in sshd_config

Bug #1267505 reported by Chris Jones on 2014-01-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

If one has configured sshd_config to place host keys in a non-default location (e.g. on some persistent volume that survives instance termination/recreation), will still create keys on the first boot in /etc/ssh/

Clint Byrum (clint-fewbar) wrote :

Simple solution: allow cloud.cfg to specify the path.

Slightly harder but way cooler: parse /etc/ssh/sshd_config

Scott Moser (smoser) wrote :

well, without testing i did the attached branch.
give it a shot, see what you tihnk.
it might work.

Changed in cloud-init:
status: New → Triaged
importance: Undecided → Medium
Clint Byrum (clint-fewbar) wrote :

Looks pretty good Scott. I'll try it out tomorrow if Chris doesn't beat me to it. :)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers