diff options
author | Scott Moser <smoser@ubuntu.com> | 2011-08-29 20:26:17 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2011-08-29 20:26:17 -0400 |
commit | c7123a7f3bc08a2d45ce6b2d66107a669284e3f1 (patch) | |
tree | 019ba24b8da4ba9b549883f1de4b4f6ab12a02bd /doc/var-lib-cloud.txt | |
parent | 5e0edd8cf0a8431d453649037da913285e28850f (diff) | |
download | vyos-cloud-init-c7123a7f3bc08a2d45ce6b2d66107a669284e3f1.tar.gz vyos-cloud-init-c7123a7f3bc08a2d45ce6b2d66107a669284e3f1.zip |
improve updating of .ssh/authorized_keys
These changes update the .ssh/authorized_keys rather than simply appending
This is preferable as ssh daemon picks the first key that is present.
This fixes 2 issues where something had edited a .ssh/authorized_keys
prior to cloud-init getting at it.
a.) LP: #434076 a user prior to re-bundling
b.) LP: #833499 the hypervisor
If you want to enable ssh access for root user, the proper way to do it is
with 'disable_root: False' in cloud-config.
LP: #434076, #833499
Diffstat (limited to 'doc/var-lib-cloud.txt')
0 files changed, 0 insertions, 0 deletions