sshpiper/entrypoint.sh
2022-07-04 16:49:50 +00:00

9 lines
145 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 "$@"