The sshd flag `-e` instructs sshd to output any logs to stderr instead of the syslog. Redirect this output to stdout then. Signed-off-by: Jakob Ackermann <das7pad@outlook.com>tags/v1.9.0-rc1
[[ -f ./setup ]] && source ./setup | [[ -f ./setup ]] && source ./setup | ||||
pushd /root > /dev/null | pushd /root > /dev/null | ||||
exec su-exec root /usr/sbin/sshd -D | |||||
exec su-exec root /usr/sbin/sshd -D -e 2>&1 | |||||
popd | popd |
#!/bin/bash | |||||
exit 0 |
#!/bin/bash | |||||
[[ -f ./setup ]] && source ./setup | |||||
pushd /root > /dev/null | |||||
exec su-exec root /sbin/syslogd -nS -O- | |||||
popd |
#!/bin/bash |