新机器到手的事情
apt update -y
apt full-upgrade -y
sudo sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/g' /etc/ssh/sshd_config;sudo sed -i 's/PubkeyAuthentication no/PubkeyAuthentication yes/g' /etc/ssh/sshd_config;sudo systemctl restart sshd;passwd root