当前位置:   article > 正文

VScode中下载了插件但是无法找到SSH Target连接服务器的解决方法(CANNOT find SSH Target in remote explorer)_vscode找不到ssh安装

vscode找不到ssh安装

VSCode版本vscode version:(version 1.82)

已下载扩展installed extensions:

Remote - SSH v0.106.4

Remote - SSH: Editing Configuration Files v0.86.0

Remote Development v0.24.0 WSL v0.81.3

        几天前我从pycharm转战vscode,在连接服务器时遇到了一些问题。根据一些较为古早的教程,应当下载上述的几个扩展插件,然后在Remote Explorer当中选择SSH target以连接服务器。但是在目前版本下下载上述扩展插件后Remote Explorer里没有SSH target选项,我选择了SSH tunnel,,显示“通道不存在 the tunnel isn't existed”未能成功连接服务器。

当时原问题如下:

I want to connect to the Linux server by SSH. But after I installed the extensions above, SSH target were still not found in the remote explorer. There were only Dev Containers and WSL Target. I have successfully connected the server by SSH in pycharm. How to solve this problem? 

I searched online and found some advices about changing the version of extension, but useless. I also found that maybe I should install Remote Containers, but I can't find it in the extensions store.

        随后我找到了解决方法,使用SSH tunnel是正确的,解决通道不存在问题的方法是在cmd中使用"icacls "key address" /grant:r 11094:"(R)"" ,其中11094需要替换成你的admin名称。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/知新_RL/article/detail/630155
推荐阅读
相关标签
  

闽ICP备14008679号