diff options
author | Scott Moser <smoser@ubuntu.com> | 2010-01-25 14:48:14 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2010-01-25 14:48:14 -0500 |
commit | 1252e1a690c5c4f53f01ed4d06b5558cce204fd2 (patch) | |
tree | d31735f969ba745f01ccfa4aa68689fc4fdc7944 /ec2init/UserDataHandler.py | |
parent | 8938982d6ab1e3843004e19c485f73e3401c767a (diff) | |
download | vyos-cloud-init-1252e1a690c5c4f53f01ed4d06b5558cce204fd2.tar.gz vyos-cloud-init-1252e1a690c5c4f53f01ed4d06b5558cce204fd2.zip |
no longer stop and restart ssh, rely on normal ssh service
Experimentation indicates that:
a.) sshd will start without ssh_host_keys in place
b.) sshd does not need to be restarted to read new keys written there
any new ssh connection will use new keys
see LP: #512377 for example of tests that found the above.
With changes to ec2-automated-builds under 512377, the keys will not exist in
the image, so the unlink will be generally not needed. The ssh server may
start up before this code runs, however it will have no keys availalble until
this writes or generates it.
Diffstat (limited to 'ec2init/UserDataHandler.py')
0 files changed, 0 insertions, 0 deletions