itdoxy-lab/docker/etc/s6/openssh/run

7 lines
117 B
Bash
Executable File

#!/bin/bash
[[ -f ./setup ]] && source ./setup
pushd /root > /dev/null
exec su-exec root /usr/sbin/sshd -D
popd