mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 17:49:10 +00:00
Merge pull request #1355 from justincormack/sshd-logs
Make sshd output to stderr not syslog
This commit is contained in:
commit
b6ef5d4e88
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user