···1616chmod 600 /safe_ssh_keys/*
1717chmod 644 /safe_ssh_keys/*.pub
18181919-/usr/sbin/sshd -d -f /sshd_config &
2020-sshd_pid=$!
1919+# Start sshd in the background
2020+/usr/sbin/sshd -f /sshd_config
21212222-/usr/sbin/knot server &
2323-server_pid=$!
2424-2525-# Wait for any of the two background commands to exit and exit the container if that happens.
2626-wait -n $sshd_pid $server_pid
2727-exit $?
2222+/usr/sbin/knot server