阿里云禁止root用户直接登录的解决办法
发表于:2024-08-13 15:16:53浏览:600次
用别的用户登录
sudo vi /etc/ssh/sshd_config
修改参数
PermitRootLogin yes
PasswordAuthentication yes
重启
service sshd restart
栏目分类全部>
用别的用户登录
sudo vi /etc/ssh/sshd_config
修改参数
PermitRootLogin yes
PasswordAuthentication yes
重启
service sshd restart