gitea/docker/etc/s6/openssh/run

7 lines
125 B
Bash
Executable File

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