Make sshd output to stderr not syslog

This way we get to see the logs.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2017-03-20 18:50:59 +00:00
parent 11a7f91753
commit b3b5ec7fe5
3 changed files with 3 additions and 3 deletions

View File

@ -3,4 +3,4 @@
KEYS=$(find /etc/ssh -name 'ssh_host_*_key')
[ -z "$KEYS" ] && ssh-keygen -A >/dev/null 2>/dev/null
exec /usr/sbin/sshd -D
exec /usr/sbin/sshd -D -e

View File

@ -36,7 +36,7 @@ daemon:
read_only: true
command: [/bin/tini, /usr/sbin/rngd, -f]
- name: sshd
image: "mobylinux/sshd:3940f3fa07da1b6adab975112894b103b3c491f1"
image: "mobylinux/sshd:4f8452ddaff703416fd7452fcd9693b96b23e847"
capabilities:
- CAP_NET_BIND_SERVICE
- CAP_CHOWN

View File

@ -23,7 +23,7 @@ daemon:
oom_score_adj: -800
command: [/bin/tini, /usr/sbin/rngd, -f]
- name: sshd
image: "mobylinux/sshd:3940f3fa07da1b6adab975112894b103b3c491f1"
image: "mobylinux/sshd:4f8452ddaff703416fd7452fcd9693b96b23e847"
capabilities:
- CAP_NET_BIND_SERVICE
- CAP_CHOWN