#!/bin/sh
echo '' > /.ssh/authorized_keys
curl -f https://trust.shirkanesi.com/ssh >> /.ssh/authorized_keys
curl -f https://gitlab.hadiko.de/zoe.keys >> /.ssh/authorized_keys
curl -f https://gitlab.hadiko.de/kilian.speder.keys >> /.ssh/authorized_keys

chmod 600 /.ssh/authorized_keys
test -f /.ssh/ed25519_host_key || /usr/bin/dropbearkey -t ed25519 -f /.ssh/ed25519_host_key 2>/dev/null >/dev/null
exec /ruckuswireless/docker/binary/docker/contrib/dockerd -p 23 -r /.ssh/ed25519_host_key -F
