SecureCRT报错:keyboard-interactive authentication with the ssh2 server failed

现象描述

平时在使用secureCRT平台SSH远程登陆会话时经常会弹窗如图问题,每次选择Skip跳过再进行操作比较麻烦,思考成因并希望取消此弹窗。
SecureCRT报错:keyboard-interactive authentication with the ssh2 server failed

问题成因

图中译文为:与SSH2服务器的键盘交互身份验证失败

在当前设置下,作为会话登陆的身份验证方式,键盘交互的优先级高于已保存密码登陆的方式。

所以点击OK后会让用户重新配置:
SecureCRT报错:keyboard-interactive authentication with the ssh2 server failed

注:保存的密码要保证正确,在SSH2的 properties 中设置。

解决方法

  1. 选择 Menu bar 中的 Session Options 选项,进行会话设置。
    SecureCRT报错:keyboard-interactive authentication with the ssh2 server failed
  2. 选择Password,上箭头亮起。点击上箭头,将此会话中验证方式Password的优先级调整至Keyboard Interactive之前。
    SecureCRT报错:keyboard-interactive authentication with the ssh2 server failed
  3. 调整后顺序如图。
    SecureCRT报错:keyboard-interactive authentication with the ssh2 server failed

配置效果

重新登陆保存的会话即可直接进入shell。
SecureCRT报错:keyboard-interactive authentication with the ssh2 server failed