新机器到手的事情
apt update -yapt full-upgrade -ysudo 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 rootssh-copy-id root@remote_host