Uploaded sanitized BC250/ROCm Repository.

This commit is contained in:
Fabian
2026-08-20 00:45:43 +02:00
parent 7d2184f1e8
commit d7d22e93b3
678 changed files with 65963 additions and 1 deletions
@@ -0,0 +1,20 @@
#!/bin/bash
# Set SSH limits high
set -e
CONF="/etc/ssh/sshd_config"
# Remove old lines
sed -i '/^#*MaxStartups/d' "$CONF"
sed -i '/^#*MaxSessions/d' "$CONF"
# Add new limits
echo "MaxStartups 200:30:500" >> "$CONF"
echo "MaxSessions 200" >> "$CONF"
# Restart sshd
systemctl restart sshd
# Verify
grep -E 'MaxStartups|MaxSessions' "$CONF"
echo "SSH limits set OK"