天天看點

While creating remote tunnel for SshjSshConnection; Global request [global req for tcpip-forward

在win10上遠端調試ubuntu端代碼時,原來可以正常調試的代碼,突然提示:While creating remote tunnel for SshjSshConnection( @ )@6ac86b66: localhost:63342 == localhost:63342: Global request [global req for tcpip-forward] failed。

網上常見的解決方法:

  • pycharm中,通過搜尋 Register,然後關閉兩個設定就可以。 ide.ssh.library.backend.use.sshj

    ide.ssh.library.backend.webDeployment.use.sshj

    While creating remote tunnel for SshjSshConnection; Global request [global req for tcpip-forward
  • 通過重新配置遠端編譯器。
    While creating remote tunnel for SshjSshConnection; Global request [global req for tcpip-forward

當以上兩種方法不能解決問題時,可以嘗試替換配置的遠端檔案夾:

/.pycharm_helpers/

While creating remote tunnel for SshjSshConnection; Global request [global req for tcpip-forward

如果服務端恰好有可以正常運作、調試項目使用的其他路徑下的

.pycharm_helpers/

,可以直接替換掉我們配置的檔案夾内容,或者将我們的指定的路徑替換一下。可以通過運作、調試項目檢視

.pycharm_helpers/

路徑:

While creating remote tunnel for SshjSshConnection; Global request [global req for tcpip-forward

或者找一台可以調試代碼的ubuntu機器中

.pycharm_helpers/

進行替換