diff --git a/einrichtung_client.sh b/einrichtung_client.sh index 2df2597..16dc80c 100644 --- a/einrichtung_client.sh +++ b/einrichtung_client.sh @@ -1,6 +1,7 @@ !/bin/bash apt install curl wget echo -e "PubkeyAuthentication yes \nPasswordAuthentication yes \nAuthorizedKeysCommand /usr/local/bin/userkeys.sh \nAuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config +wget -P /usr/local/bin https://raw.githubusercontent.com/Hobbabobba/keyserver/main/userkeys.sh chmod a+x /usr/local/bin/userkeys.sh service ssh restart echo "FERTIG"