当前位置: 首页 > news >正文

windows中使用vscode的remote-ssh连接linux失败

[14:36:30.830]>Bad owner or permissions onPROGRAMDATA Wssh/ssh config

过程试图写入的管道不存在。
[14:36:31.124]"install"terminal command done
[14:36:31.126]Install terminal quit with output:过程试图写入的管道不存在
[14:36:31.126]Received install output:过程试图写入的管道不存在。
[14:36:31,128]Failed to’parse remote port from server output
14:36:31.1331Resolver error:Error:

问题原因:windows系统自带的ssh工具有问题,可以使用git工具自带的ssh工具,在vscode中替换掉默认的系统ssh工具。

1、下载git工具
https://git-scm.com/download/win/
下载:64-bit Git for Windows Portable.

在Windows的目录下解压(免安装):C:\user1\Programs\PortableGit-2.46.0-64-bit
2、设置vscode
设置vscode的 Remote-SSH:Ctrl + Shift + p
Remote-SSH:Settings
Remote.SSH: Path (Applies to all profiles)
An absolute path to the SSH executable. When empty, it wil use “ssh” on the path or in common install locations.

C:\user1\Programs\PortableGit-2.46.0-64-bit\usr\bin\ssh.exe

3、重启vscode
重新连接远程Linux。

提供一个“vscode 远程 linux(包括离线vscode-server安装,免密登录方法)”
https://blog.csdn.net/qq_43623902/article/details/136258880


http://www.mrgr.cn/news/11831.html

相关文章:

  • AR 眼镜之-系统应用音效-实现方案
  • 11. HashSet的内部实现原理是什么?它如何保证元素不重复?
  • SSRF漏洞——pikachu
  • Excel中使用VBS自定义函数将中文转为拼音首字母
  • 浙商之源——龙游商帮丨龙游商帮的具象文化符号之建筑篇
  • QtWebEngineView加载本地网页
  • Linux项目自动化构建工具-make/Makefile
  • Java共享内容通信 VS Golang通信共享内存
  • 数据结构---顺序表---单链表
  • 93.WEB渗透测试-信息收集-Google语法(7)
  • 小琳AI课堂:生成对抗网络(GANs)
  • Spring security 密码加密使用
  • 数据结构-递归算法-第四天
  • 苹果发布iOS 18 Beta 7更新:RC准正式版正在路上
  • 论文《Graph Structural Attack by Perturbing Spectral Distance》笔记
  • ReadAgent,一款具有要点记忆的人工智能阅读代理
  • 云知声多模态模型:实时多模态输入输出;独立于 Siri ,苹果或开发新 AI 用于机器人丨 RTE 开发者日报
  • 《黑神话·悟空》的编程语言探讨
  • Ant Design Vue修改表格样式
  • SpringMVC关于参数问题案例