Comment 2 for bug 1747705

Revision history for this message
Shota Aratono (shota-a) wrote :

HI,

I confirmed that I can override ssh_pwauth value with user-data.
But, it's does not fit for my use case.
Since deploing VM is done by user, I can't control user-data.

I think the best solution is cloud-init don't update PasswordAuthentication in /etc/sshd_config
when ssh_pwauth value is 'unchanged'.
As I wrote before, the root cause is CloudStack datasource overwrites ssh_pwauth value forcibly.
So I'd like to remove this behavior.

Is it helpful to creating the patch?