dd
1 | curl -O https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh || wget -O reinstall.sh $_ |
ovz/lxc
1 | wget -qO OsMutation.sh https://raw.githubusercontent.com/LloydAsp/OsMutation/main/OsMutation.sh && chmod u+x OsMutation.sh && ./OsMutation.sh |
1panel
1 | bash -c "$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)" |
github
1 | sed -i "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts |
nat64
1 | echo -e "nameserver 2a00:1098:2b::1\nnameserver 2a01:4f9:c010:3f02::1 \nnameserver 2a01:4f8:c2c:123f::1" > /etc/resolv.conf |
ssh
1 | sed -i 's/#\?PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config && systemctl restart sshd |
1 | ssh-keygen -t rsa |
/etc/ssh/sshd_config
1 | PubkeyAuthentication yes |
1 | systemctl restart sshd |