Cloud-init writes virtual machine's host keys as ec2
Original product version: Virtual Machine running Linux
Original KB number: 4561944
Symptoms
Cloud-init intermittently writes SSH Host keys to console as 'ec2'. Azure doesn't use ec2 instances.
Cause
Cloud-init uses the SSH module to call the write-ssh-key-fingerprints helper script in the final stage. The helper logged these values setting the program name to 'ec2'. The name of the cloud-init project was 'ec2-init' before changing to a platform-agnostic name. Some code paths still include the old name.
Workaround
Ignore 'ec2' logs during troubleshooting. You'll find more information in the Bug description article.
Contact us for help
If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for