SSH的RADIUS身份验证不起作用

问题描述

我的RADIUS在Windows(NPS)上运行,而Linux(CentOS)则配置为RADIUS客户端。

# radtest -x -4 someuser "......" XXX.YYY.ZZZ.NNN 0 abcdfg
Sent Access-Request Id 35 from 0.0.0.0:49661 to XXX.YYY.ZZZ.NNN:1812 length 75
    User-Name = "user1"
    User-Password = "........."
    NAS-IP-Address = XXX.YYY.ZZZ.MMM
    NAS-Port = 0
    Message-Authenticator = 0x00
    Cleartext-Password = ".........."
Received Access-Accept Id 35 from XXX.YYY.ZZZ.NNN:1812 to 0.0.0.0:0 length 78
    Framed-Protocol = PPP
    Service-Type = Framed-User
    Class = 0x3a7e042900000137000102000a0a140300000000000000000000000001d68f7382402fd9000000000000001f

但是,当我尝试使用SSH登录时失败,并且Windows事件日志显示错误原因:

Authentication Failed due to a user credentials mismatch. Either the user name provided does not map to an existing user account or the password was incorrect.

问题在于用户名正确且密码正确(我正在使用这些凭据到RDP)并且用户在AD中。

任何想法都可能出什么问题,如何找到问题所在? TIA

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)