[
https://issues.apache.org/jira/browse/CLOUDSTACK-5822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000241#comment-15000241
]
ASF GitHub Bot commented on CLOUDSTACK-5822:
--------------------------------------------
Github user DaanHoogland commented on the pull request:
https://github.com/apache/cloudstack/pull/1044#issuecomment-155737852
@NuxRo valid point but isn't this unexpected behavior instead of expected?
The key was not added by the UI (or API) but will be removed by it. If we need
this a seperate API, resetAllSshKeysInVm should be made.
An angry employee having keys on a vm (out of band) is a real and present
danger, indeed.
> ssh keypairs are removed after rebooting vm
> -------------------------------------------
>
> Key: CLOUDSTACK-5822
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5822
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.3.0
> Reporter: Wei Zhou
> Assignee: Wei Zhou
>
> For a ssh keypair-enabled vm, the keys in /root/.ssh/authorized_keys will be
> reset after rebooting the vm. Only the keypair specified in cloudstack will
> be added. We should keep the keypairs added by users.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)