新建了一个虚拟机,准备用ssh 连接管理,提示权限不足,

账号密码没问题,防火墙没有开

打开ssh服务的配置文件,默认在  /etc/ssh/sshd_config (不是 ssh_config)

检查两个地方:

AddressFamily any   #允许任何地方登录

PermitRootLogin yes # 允许root账号登录

 

相关文章:

  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-22
猜你喜欢
  • 2021-06-11
  • 2021-11-28
  • 2021-08-14
  • 2021-05-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案