AnotherRedisDesktopManager icon indicating copy to clipboard operation
AnotherRedisDesktopManager copied to clipboard

[FEATURE] support sshd config PasswordAuthentication=no and ChallengeResponseAuthentication=yes

Open xianyunleo opened this issue 1 year ago • 8 comments

When the server sshd configuration is PasswordAuthentication = no, ChallengeResponseAuthentication = yes. In this case, only interactive (e.g., keyboard) password are supported, and plaintext password are not supported

Currently both Navicat and DataGrip support this case. Please support this case

xianyunleo avatar Apr 02 '24 10:04 xianyunleo

you can use a private key instead

qishibo avatar Apr 02 '24 23:04 qishibo

我也想用私钥,但是公司的服务器,我没权限改,目前navicat和DataGrip都支持 sshd PasswordAuthentication=no的密文密码连接

xianyunleo avatar Apr 03 '24 04:04 xianyunleo

那你平常不用私钥,通过什么登录的

qishibo avatar Apr 03 '24 23:04 qishibo

这台服务器是用,密码登录。 服务器sshd的配置是PasswordAuthentication=no,ChallengeResponseAuthentication=yes。 这种情况下,仅支持交互式(如键盘)输入密码,不支持明文密码

xianyunleo avatar Apr 07 '24 10:04 xianyunleo

是每次从验证器app里获取动态密码填入么

qishibo avatar May 23 '24 05:05 qishibo

ChallengeResponseAuthentication指定是否使用“键盘交互”身份验证方案。

从理论上讲,“键盘交互”身份验证方案可以向用户询问多重问题,但是实践中,通常仅询问 Password:,也可以询问 One-time Password

https://zhuanlan.zhihu.com/p/518666339

下面是普通Password验证和ChallengeResponseAuthentication Password验证在终端的表现 88813366f08a447f2f2bbf98dac6af6

9a3d6ef88888cf4f537cadb94f503e5

xianyunleo avatar May 24 '24 11:05 xianyunleo

懂了,你在其他APP【如RDM】能正常登陆么,可以截个图我看看他是啥操作么

qishibo avatar May 28 '24 12:05 qishibo

RDM不能,IDEA可以,Xshell也可以,Xshell参考这里 https://zhuanlan.zhihu.com/p/518666339

xianyunleo avatar May 29 '24 10:05 xianyunleo