Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

OS templates for virtual servers and same host keys on different servers

I was checking something with a provider that's been offering some great deals lately. I noticed that the two VPS I was testing had the same host keys. This means they probably messed up the OS templates. I'm curious if this is a common issue?

Thanked by 2nghialele raindog308

Comments

  • Name and shame.

    Thanked by 1tentor
  • raindog308raindog308 Administrator, Veteran

    I thought host keys were generated on the first system boot. Why would someone ever need to hardcode them?

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    @raindog308 said:
    I thought host keys were generated on the first system boot. Why would someone ever need to hardcode them?

    Didn’t clean their /etc/ssh folder when they made the template.

    Debian doesn’t autogenerate on reboot, but centos does. At buyvm we have a first boot script that regens the keys.

    Francisco

  • NeoonNeoon Community Contributor, Veteran
    edited May 2025

    @vitobotta said:
    I was checking something with a provider that's been offering some great deals lately. I noticed that the two VPS I was testing had the same host keys. This means they probably messed up the OS templates. I'm curious if this is a common issue?

    Hetzner did that and I believe OVH also.
    The biggest fuckup yet though, Virtualizor templates have the same machine-id.

Sign In or Register to comment.