redis-pro icon indicating copy to clipboard operation
redis-pro copied to clipboard

SSH跳转缺少公私钥选项

Open fuershi opened this issue 2 years ago • 3 comments

目前只能使用账号密码访问跳转服务器. 期待加一下.

fuershi avatar May 23 '23 08:05 fuershi

计划支持的, 暂时swift-nio-ssh 库还不支持,会持续关注

chengpan168 avatar May 27 '23 08:05 chengpan168

https://github.com/apple/swift-nio-ssh/blob/0e927f7298bc4b44ec468134bc83ae2772150861/Tests/NIOSSHTests/UserAuthenticationStateMachineTests.swift#L49C35-L49C35

对swift了解不多,咨询一下该文件是类似privateKey的处理方式么,本地实现NIOSSHClientUserAuthenticationDelegate 但是走不通 @chengpan168

onlw avatar Sep 04 '23 12:09 onlw

https://github.com/apple/swift-nio-ssh/blob/0e927f7298bc4b44ec468134bc83ae2772150861/Tests/NIOSSHTests/UserAuthenticationStateMachineTests.swift#L49C35-L49C35

对swift了解不多,咨询一下该文件是类似privateKey的处理方式么,本地实现NIOSSHClientUserAuthenticationDelegate 但是走不通 @chengpan168

https://github.com/apple/swift-nio-ssh/issues/94 swift-nio-ssh 还不支持, 可以参考下这个: https://github.com/apple/swift-nio-ssh/issues/66

chengpan168 avatar Sep 09 '23 00:09 chengpan168