aws ssh 使用密码登录root123sed -ie "s/#PermitRootLogin prohibit-password/PermitRootLogin yes/g" /etc/ssh/sshd_configsed -ie "s/PasswordAuthentication no/PasswordAuthentication yes/g" /etc/ssh/sshd_configsystemctl restart sshd