JumpServer报“认证失败 Authentication Error”小案例分析
在JumpServer里面跳转到一台MySQL服务器时,出现下面错误 “ 认证失败 Authentication Error ” Opt or ID>: 5 Only match Host: xxxx Connecting xxxx ... 认证失败 Authentication Error. 首先检查JumpServer的日志 /opt/jumpserver/logs/jumpserver.log,发现下面一些日志信息 2020-06-23 15:43:15,581 - connect.py - DEBUG - { 'ip' : u '192.168.xxx.xxx' , 'role_name' : u 'xxxxx' , 'role_key' : u '/opt/jumpserver/keys/user/xxxxx_xxxxx.pem' , 'user' : <User: xxxxx>, 'role_pass' : 'xxxxx' , 'port' : 22, 'asset' : <Asset: 192.168.xxx.xxx>} 2020-06-23 15:43:17,815 - connect.py - WARNING - 使用ssh key /opt/jumpserver/keys/user/xxxxx_xxxxx.pem 失败, 尝试只使用密码