========1.问题============

SecureCRT无法使用root账户远程连接ubuntu

用其他账户连接,正常

用root账户连接,不能连接

 

=========2.原因============

SecureCRT无法使用root账户远程连接ubuntu

在/etc/ssh/sshd_config中有下面这个配置

PermitRootLogin without-password 

 

 

======3.解决方法=============

修改配置文件/etc/ssh/sshd_config中

PermitRootLogin without-password  应该改为 PermitRootLogin yes

前者表示可以登录的时候不使用密码  |  后者表示允许root远程登录但是需要输入密码

修改后重启ssh

service ssh restart

问题解决

 

相关文章:

  • 2021-06-17
  • 2021-07-02
  • 2021-08-22
  • 2021-08-05
  • 2022-02-08
  • 2021-10-16
  • 2022-12-23
  • 2021-07-15
猜你喜欢
  • 2021-07-19
  • 2021-04-14
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-17
  • 2022-01-06
相关资源
相似解决方案