0

我使用 Pycharm 连接我的远程服务器,它运行良好。但是在我添加到另一台服务器的第二个连接之后。它报告错误:Couldn't upload helpers for remote interpreter: Authentication failed: Exhausted available authentication methods,并且之前的连接也失败了。

以下是我采取但无效的一些措施。

  • 删除新连接。
  • 删除所有连接和远程解释器,然后重新连接到远程服务器
  • 重新启动我的笔记本电脑。

我为我做和工作的最后一件事是

Deployment -> connection -> Authentication,选择Key pair openssh or PuTTY,选择private key pathTest Connection它奏效了。

4

2 回答 2

1

Deployment -> connection -> Authentication,选择Key pair openssh or PuTTY,选择private key pathTest Connection它奏效了。

于 2020-11-05T04:08:36.927 回答
0

如果您在 Pycharm 中遇到问题,您很有可能无法使用 Putty / Terminal (Mac) 进行 SSH。请先尝试通过 Putty / Terminal SSH 连接到主机。如果您使用 Putty / Terminal (Mac) 解决问题,您也将自动修复 Pycharm 的身份验证失败错误。就这样,我修好了。

于 2021-04-14T14:02:13.787 回答