Skip to content

Instantly share code, notes, and snippets.

View jensscherbl's full-sized avatar

Jens Scherbl jensscherbl

  • Munich, Germany
  • 15:54 (UTC +02:00)
View GitHub Profile
@madalinignisca
madalinignisca / 00-README.md
Last active July 4, 2025 07:23
Minimal cloud init suitable for any public cloud server instance

Cloud init snippets

Mostly used by me for Hetzner cloud, but should work with all Public Cloud server providers.

  • cloud-init.yml
    • please ensure to set your user, group for the normal user you want to use
    • ssh_import_id can be used with github usernames instead of ssh_authorized_keys
    • disable_root: true ensures root can't ssh in
  • optionally add a sshd extra config that will secure more; tweak TcpForwarding and PermitTunnel as your requiments are!