sudo passwd rootsu rootPasswordAuthentication no,把no改成yes 。输入vim /etc/ssh/sshd_configsudo /sbin/service sshd restartsu rootpasswd ec2-uservi /etc/ssh/sshd_configPermitRootLogin这行改为PermitRootLogin yesPasswordAuthentication no改为PasswordAuthentication yes UsePAM yes改为UsePAM no本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。