sshpiper/entrypoint.sh
2019-01-07 11:49:05 +00:00

9 lines
137 B
Bash
Executable file

#!/bin/sh
set -euo pipefail
if [ ! -f /etc/ssh/ssh_host_rsa_key ];then
/sshpiperd genkey > /etc/ssh/ssh_host_rsa_key
fi
exec "$@"