added ssh config
This commit is contained in:
@@ -37,6 +37,9 @@ if [ $profile = server ]; then
|
||||
do
|
||||
ufw allow $i
|
||||
done
|
||||
|
||||
# SSH keys only
|
||||
echo -e "# SSH keys only\nPasswordAuthentication no\nPubkeyAuthentication yes" > /etc/ssh/sshd_config.d/custom.conf
|
||||
fi
|
||||
|
||||
# Desktop only configuration
|
||||
|
||||
Reference in New Issue
Block a user