diff --git a/start.sh b/start.sh index 6fdee74..da6cf34 100755 --- a/start.sh +++ b/start.sh @@ -131,6 +131,13 @@ if [ -e /srv/conf/openssl.cnf ]; then cp /srv/conf/openssl.cnf /etc/ssl/openssl.cnf fi +# Fix ssh-copy-id helper +if [ ! -e /srv/.ssh/authorized_keys ]; then + mkdir -p /etc/dropbear/authorized_key + chown app:app /etc/dropbear/authorized_key + ln -s /srv/.ssh/authorized_keys /etc/dropbear/authorized_key +fi + #################### # Default Nginx page ####################