Last active
March 27, 2023 15:40
-
-
Save udienz/d88b582c452471255b504bfc4f9ccfd6 to your computer and use it in GitHub Desktop.
SSH Docker entrypoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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