解决 ubuntu 使用root登录 ssh 报错: password authentication failed…
sudo vi /etc/ssh/sshd_config
找到PermitRootLogin without-password
,改为PermitRootLogin yes
。
最后重启SSH服务
sudo service ssh restart
解决 ubuntu 使用root登录 ssh 报错: password authentication failed…
sudo vi /etc/ssh/sshd_config
找到PermitRootLogin without-password
,改为PermitRootLogin yes
。
最后重启SSH服务
sudo service ssh restart
发表回复