From 18260bd61cbc29f9336025c5c0be5d4b3b2841f9 Mon Sep 17 00:00:00 2001 From: Hobbabobba Date: Sat, 16 Oct 2021 11:43:11 +0200 Subject: [PATCH] Update einrichtung_client.sh --- einrichtung_client.sh | 1 + 1 file changed, 1 insertion(+) 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"