#!/bin/sh
cp /run/secrets/authorized_keys /home/$SSH_USER/.ssh/authorized_keys
chown "$SSH_USER" "/home/$SSH_USER/.ssh/authorized_keys"
chmod 600 "/home/$SSH_USER/.ssh/authorized_keys"
/usr/sbin/sshd -D -e