https://my.mikyhost.com/index.php?rp=/login 它家的AWS分销,服务器只能密钥登录,如何改密码登录?我试过几个办法,都不行,有没有懂哥有文档供参考的 几个, 服务器, 密钥
[ol]echo root:新密码 |sudo chpasswd root sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config; sudo sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config; sudo service sshd restart[/ol]复制代码