sshpiper/entrypoint.sh
2022-07-05 23:14:41 +00:00

9 lines
144 B
Bash
Executable file

#!/bin/sh
set -euo pipefail
if [ ! -f /etc/ssh/ssh_host_rsa_key ];then
ssh-keygen -t rsa -N '' -f /etc/ssh/ssh_host_rsa_key
fi
exec "$@"