[Bug 1747705] Re: "ssh_pwauth" always true on CloudStack datasource with password

2018-03-02 Thread Dan Watkins
I can't remember the exact details, but I believe that this change was landed to support a CloudStack deployment that didn't support SSH keys at all. In my ignorance of the broader CloudStack ecosystem, I assumed that this was true of all CloudStack deployments, so setting it in the data source

[Bug 1747705] Re: "ssh_pwauth" always true on CloudStack datasource with password

2018-03-02 Thread Scott Moser
Shota, The change that put that behavior in was https://git.launchpad.net/cloud-init/commit/?id=e626359a6ea If I understand what you're asking for correctly, then we would break ssh access to a system that the Vm template password reset property set. Does the guest have access to those

[Bug 1747705] Re: "ssh_pwauth" always true on CloudStack datasource with password

2018-03-02 Thread Shota Aratono
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

[Bug 1747705] Re: "ssh_pwauth" always true on CloudStack datasource with password

2018-02-09 Thread Scott Moser
Hi, thanks for the good bug report. I believe that you should be able to override the datasource provided config in user-data. Try providing user-data as: #cloud-config ssh_pwauth: False Please let me know if that works for you or not. I do realize that its unfortunate to have to do that.

[Bug 1747705] Re: "ssh_pwauth" always true on CloudStack datasource with password

2018-02-08 Thread shota.a
** Also affects: ubuntu Importance: Undecided Status: New ** Package changed: ubuntu => cloud-init (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1747705 Title: "ssh_pwauth"