Closed jelaiw closed 1 year ago
For some reason setting the instance metadata for ssh-keys
on a running VM from Terraform did not install the ssh public key to authorized keys for kali user.
At first, it seemed as if we needed user "kali" in two places in the ssh-keys
metadata format, but a re-build of the resource (taint or destroy/apply) installed the ssh key successfully.
Seems to suggest that ssh-keys
needs to exist in the instance metadata at initial VM create time?
If yes, this does not appear to be clearly documented.
Could probably use more testing, but basic ssh access is all we need right now, so closing.
Notes