Skip to content

Commit 62b3596

Browse files
das7padtechknowlogick
authored andcommitted
[docker] let the ssh daemon speak for itself and drop the syslog daemon (#6529)
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 <[email protected]>
1 parent 6821a32 commit 62b3596

File tree

4 files changed

+1
-10
lines changed

4 files changed

+1
-10
lines changed

docker/etc/s6/openssh/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
[[ -f ./setup ]] && source ./setup
33

44
pushd /root > /dev/null
5-
exec su-exec root /usr/sbin/sshd -D
5+
exec su-exec root /usr/sbin/sshd -D -e 2>&1
66
popd

docker/etc/s6/syslogd/finish

Lines changed: 0 additions & 2 deletions
This file was deleted.

docker/etc/s6/syslogd/run

Lines changed: 0 additions & 6 deletions
This file was deleted.

docker/etc/s6/syslogd/setup

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)