sshpiper/entrypoint.sh
2018-12-29 06:13:13 +00:00

9 lines
146 B
Bash
Executable file

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