大量更新

This commit is contained in:
zeaslity
2025-02-21 14:00:16 +08:00
parent 20c4f57715
commit c5780f90d7
85 changed files with 50718 additions and 67 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
sed -i "s/AllowTcpForwarding no/AllowTcpForwarding yes/g" /etc/ssh/sshd_config
sed -i "s/AllowAgentForwarding no/AllowAgentForwarding yes/g" /etc/ssh/sshd_config
sed -i "s/StrictModes yes/StrictModes no/g" /etc/ssh/sshd_config
systemctl restart sshd
hostnamectl set-hostname 172-31-2-8