yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70999
[Bug 1747705] Re: "ssh_pwauth" always true on CloudStack datasource with password
** Also affects: ubuntu
Importance: Undecided
Status: New
** Package changed: ubuntu => cloud-init (Ubuntu)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1747705
Title:
"ssh_pwauth" always true on CloudStack datasource with password
Status in cloud-init:
New
Status in cloud-init package in Ubuntu:
New
Bug description:
ssh_pwauth is set forcefully to true when
- Using CloudStack datasource
- Using VM template supports password reset feature.
When cloud-init obtain password from virtual router, cloud-init set ssh_pwauth to true nevertheless originall ssh_pwauth value is No/unchanged.
I read the code and found this behavior is in https://github.com/cloud-init/cloud-init/blob/master/cloudinit/sources/DataSourceCloudStack.py#L148 .
I'd like to use password for only virtual console and forbid ssh password authentication.
The easiest solution is remove the code https://github.com/cloud-init/cloud-init/blob/master/cloudinit/sources/DataSourceCloudStack.py#L150 but I'm not sure about side effect.
How do you think this?
The version of cloud-init is 17.1-46-g7acc9e68-0ubuntu1~16.04.1, on ubuntu 16.04.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1747705/+subscriptions
References