Files
dockerimages/sshd/docker-entrypoint.sh
2020-11-28 02:00:51 +01:00

12 lines
148 B
Bash

#!/bin/bash
cleanup() {
exit
}
trap cleanup HUP INT QUIT TERM
echo "root:$(cat $ROOT_PASSWORD_FILE)" | chpasswd
/usr/sbin/sshd -D
#exec "$@"