Update Linux/SSH/secure_ssh.sh

This commit is contained in:
2025-05-06 12:09:38 +00:00
parent f2d6255b6f
commit 22beb0f87b

View File

@@ -523,7 +523,7 @@ EOL
log "Prüfe SSH-Konfiguration..." log "Prüfe SSH-Konfiguration..."
# Stelle sicher, dass das PrivilegeSeparationVerzeichnis existiert # Stelle sicher, dass das Privilege-Separation-Verzeichnis existiert
if [ ! -d /run/sshd ]; then if [ ! -d /run/sshd ]; then
warn "/run/sshd fehlt - erstelle Verzeichnis..." warn "/run/sshd fehlt - erstelle Verzeichnis..."
sudo mkdir -p /run/sshd sudo mkdir -p /run/sshd