Merge pull request #1355 from justincormack/sshd-logs

Make sshd output to stderr not syslog
This commit is contained in:
Justin Cormack 2017-03-22 10:36:15 +00:00 committed by GitHub
commit b6ef5d4e88
3 changed files with 3 additions and 3 deletions

View File

@ -3,4 +3,4 @@
KEYS=$(find /etc/ssh -name 'ssh_host_*_key') KEYS=$(find /etc/ssh -name 'ssh_host_*_key')
[ -z "$KEYS" ] && ssh-keygen -A >/dev/null 2>/dev/null [ -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 read_only: true
command: [/bin/tini, /usr/sbin/rngd, -f] command: [/bin/tini, /usr/sbin/rngd, -f]
- name: sshd - name: sshd
image: "mobylinux/sshd:3940f3fa07da1b6adab975112894b103b3c491f1" image: "mobylinux/sshd:4f8452ddaff703416fd7452fcd9693b96b23e847"
capabilities: capabilities:
- CAP_NET_BIND_SERVICE - CAP_NET_BIND_SERVICE
- CAP_CHOWN - CAP_CHOWN

View File

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