ssh密码正确无法连接

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

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

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

检查两个地方:

AddressFamily any   #允许任何地方登录

PermitRootLogin yes # 允许root账号登录

原文地址:https://www.cnblogs.com/codeAB/p/11387548.html