VScode中下载了插件但是无法找到SSH Target毗连服务器的解决方法(CANNOT f
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名称。
https://i-blog.csdnimg.cn/blog_migrate/a3edd32f309a8e602221aa5fa7099c21.png
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页:
[1]