wget installieren
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
!/bin/bash
|
!/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
|
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
|
chmod a+x /usr/local/bin/userkeys.sh
|
||||||
service ssh restart
|
service ssh restart
|
||||||
|
|||||||
Reference in New Issue
Block a user