forgejo/docker/root/etc/s6/openssh/run

6 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