Skip to content

Commit 80cc706

Browse files
committed
Write SSHD debug logs to docker log
1 parent 61bb8a8 commit 80cc706

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

start.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ if [ "$(ls -A /git-server/repos/)" ]; then
2828
find /git-server/repos -type d -exec chmod g+s '{}' +
2929
fi
3030

31-
/usr/sbin/sshd -D &
31+
# -D: do not detach
32+
# -e: debug logs to standard error
33+
/usr/sbin/sshd -D -e &
3234

3335
child=$!
3436
wait "$child"

0 commit comments

Comments
 (0)