Skip to content

Instantly share code, notes, and snippets.

@udienz
Last active March 27, 2023 15:40
Show Gist options
  • Save udienz/d88b582c452471255b504bfc4f9ccfd6 to your computer and use it in GitHub Desktop.
Save udienz/d88b582c452471255b504bfc4f9ccfd6 to your computer and use it in GitHub Desktop.
SSH Docker entrypoint
#!/bin/bash
set -eo pipefail
/bin/rm -v /etc/ssh/ssh_host_*
ssh-keygen -A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment