gpt4 book ai didi

ssh - DBeaver ssh 隧道无效的私钥

转载 作者:行者123 更新时间:2023-12-02 13:45:43 25 4
gpt4 key购买 nike

只是想把它留在这里,这样解决方案的链接就不会丢失。

我有一个私有(private)的 4096 字节 RSA key (可能是使用本指南生成的 https://help.github.com/en/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)。

尝试使用 DBeaver (6.1.2) 通过 ssh 隧道建立新连接时出错。


invalid privatekey: [B@540.....

最佳答案

  • 所以起初我找到了这个解决方案:https://github.com/rundeck/rundeck/issues/4813#issuecomment-492358649但我真的不想重新创建我的 key ,因为它已经在多台服务器上使用。
  • 经过一个小时的谷歌搜索,我发现了另一个建议:通过 sshj 使用另一个 SSH 实现。分机号:https://github.com/dbeaver/dbeaver/issues/3917#issuecomment-410616717它可以通过内置的包管理器安装:Help -> Install New Software -> https://dbeaver.io/update/sshj/latest/ 而且效果很好!
  • 关于ssh - DBeaver ssh 隧道无效的私钥,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56979849/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com