aws ec2容许root用户密码登录

1.首先 用密钥登录 vim 2.给 root 设置密码 sudo passwd rootssh 3.密码设置好后 切换到root用户 su rootspa 4.修改ssh配置文件,容许密码登陆rest  vim /etc/ssh/sshd_config it 将 passwordAuthentication no 改成  passwordAuthentication yesio 将 Permit
相关文章
相关标签/搜索