vscode remote 连接 windows 提示 no sshd parent proc

2022-06-01 10:30:06 +08:00
 brucmao

办公室和家里都是 win11,用 vscode remote 报错

no sshd parent proc

家里有公网 IP ,用了这个项目 https://github.com/linpinger/reverse-ssh 家里开启

reverse-ssh -l :31337

现在办公室 powershell 可以用 ssh -p 31337 nas.mydomain.com

连接 terminal,想用 vscode 连接就不行

网上搜了下好像是管理员权限相关?目前家里和办公室登录用户都是用的微软账户

https://github.com/microsoft/vscode-remote-release/issues/2648

1526 次点击
所在节点    Windows
2 条回复
clorischan
2022-06-01 12:11:23 +08:00
用的 Windows 自带的 OpenSSH Server
终端跟 VSCode Remote SSH 都正常连接使用
没发现问题
xyfan
2022-06-01 12:46:08 +08:00
还是用微软自己适配的 SSH Server 吧,即使是微软适配的还存在权限相关的 bug 呢,这种个人的有问题也很正常。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/856647

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX