forgejo/docker/etc/s6/openssh/run
2016-11-28 17:16:13 +01:00

7 lines
138 B
Bash
Executable file

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