`

keyboard-interactive authentication with the ssh2 server failed

 
阅读更多
【问题】

当前Linux 的server是OpenSuSe 10,然后自己电脑上装了SecureCRT5.0.0 (build 380) 去连接服务器,用的是SSH2。

但是配置好之后,每次连接,都提示

keyboard-interactive authentication with the ssh2 server failed

然后需要输入用户名和密码才可以连接。

【解决过程】

自己去捣鼓了一下,最后进行如下设置,即可:

Option ->Session Options ->Connection-> SSH2 ,在右边窗口的Authentication的位置:

不要选择:Public Key(至少偶目前没搞懂如何设置的公钥)和GSSAPI

要选上Password和Keyboard Interavtive,然后点击Keyboard Interavtive,再点击右边的Properties,去设置属性,选上Store Password,然后输入2次密码,确定即可。

这样就保存了密码,然后你以后再通过SSH2去连接服务器的时候,就不需要每次都输入密码了。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics