From f51a1f89bee96605aa33651ded183a263fb307f1 Mon Sep 17 00:00:00 2001 From: Hobbabobba Date: Sat, 16 Oct 2021 11:36:13 +0200 Subject: [PATCH] fertige Datei userkeys laden --- einrichtung_client.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/einrichtung_client.sh b/einrichtung_client.sh index e44be41..662ff9c 100644 --- a/einrichtung_client.sh +++ b/einrichtung_client.sh @@ -1,9 +1,6 @@ !/bin/bash apt install curl echo -e "PubkeyAuthentication yes \nPasswordAuthentication yes \nAuthorizedKeysCommand /usr/local/bin/userkeys.sh \nAuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config -touch /usr/local/bin/userkeys.sh -echo "#!/bin/bash" >> /usr/local/bin/userkeys.sh -echo "curl -sf https://raw.githubusercontent.com/Hobbabobba/keyserver/main/\$1/keys" >> /usr/local/bin/userkeys.sh chmod a+x /usr/local/bin/userkeys.sh service ssh restart echo "FERTIG"