New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloud-Init doesn't print ssh host key keys #3822
Comments
Launchpad user Karsten Siemer(karstensiemer) wrote on 2021-01-05T15:32:32.393839+00:00 Launchpad attachments: collect-logs |
Launchpad user Dan Watkins(oddbloke) wrote on 2021-01-06T17:01:14.113105+00:00 Hi Karsten, thanks for filing this bug! It's not really clear to me what's going on here: cloud-init should be writing out SSH host keys during cc_ssh execution, which we can see happens in the log. My best guess as to what is going on is that there is either (a) some I can see from the logs that no user-data is specified to the instance: this means that any such configuration would have to be in /etc/cloud somewhere. Could you pastebin the contents of /etc/cloud/cloud.cfg and any files in /etc/cloud/cloud.cfg.d/ and include a link here? Once you've done so, please move this bug back to New. Thanks! Dan |
Launchpad user Launchpad Janitor(janitor) wrote on 2021-03-08T04:17:18.549956+00:00 [Expired for cloud-init because there has been no activity for 60 days.] |
This bug was originally filed in Launchpad as LP: #1910261
Launchpad details
Launchpad user Karsten Siemer(karstensiemer) wrote on 2021-01-05T15:32:32.393839+00:00
Hello,
I am running this ami "ami-003ab7b6dd427580e" on aws ec2.
It is the rhel 8 quickstart ami and an arm image running 4.18.0-240.8.1.el8_3.aarch64
I run it on a m6g.xlarge machine and it has cloud-init pre-installed.
Sadly, it isn't printing the ssh host key keys on first boot:
ssh also failes to come up at first, but succeeds on second try like this:
The /etc/ssh directory also is populated:
The text was updated successfully, but these errors were encountered: