diff --git a/einrichtung_client.sh b/einrichtung_client.sh index 662ff9c..2df2597 100644 --- a/einrichtung_client.sh +++ b/einrichtung_client.sh @@ -1,5 +1,5 @@ !/bin/bash -apt install curl +apt install curl wget echo -e "PubkeyAuthentication yes \nPasswordAuthentication yes \nAuthorizedKeysCommand /usr/local/bin/userkeys.sh \nAuthorizedKeysCommandUser nobody" >> /etc/ssh/sshd_config chmod a+x /usr/local/bin/userkeys.sh service ssh restart