trim down install, tighten sshd
This commit is contained in:
+5
-1
@@ -43,7 +43,7 @@ fi
|
||||
# Update or clone the CoreDesktop repo
|
||||
echo "Getting the latest version of CoreDesktop..."
|
||||
if [ -d "$HOME/.local/share/coredesktop/.git" ]; then
|
||||
git -C ~/.local/share/coredesktop pull
|
||||
git -C ~/.local/share/coredesktop pull --ff-only
|
||||
else
|
||||
git clone https://gitea.federated.computer/Federated_Computer/coredesktop.git ~/.local/share/coredesktop
|
||||
fi
|
||||
@@ -189,6 +189,10 @@ fi
|
||||
echo "Applying system defaults..."
|
||||
bash ~/.local/share/coredesktop/system/defaults.sh
|
||||
|
||||
# SSH logins with keys only, not passwords
|
||||
echo "Configuring the SSH server..."
|
||||
bash ~/.local/share/coredesktop/system/sshd.sh
|
||||
|
||||
# Block incoming connections except SSH, mDNS, LocalSend and Tailscale
|
||||
echo "Configuring the firewall..."
|
||||
bash ~/.local/share/coredesktop/system/firewall.sh
|
||||
|
||||
Reference in New Issue
Block a user