Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

新手使用vscode,尝试使用远程连接服务器功能,安装的是remote-ssh扩展
安装完成后,尝试连接阿里云主机,却出现如下错误,但使用xshell和winscp却可以正常连接

[23:53:20.853] > ssh: Could not resolve hostname ssz: 262273326252265300325342321371265304326367273372241243 

[23:53:20.891] > 过程试图写入的管道不存在。

[23:53:21.233] "install" terminal command done
[23:53:21.233] Install terminal quit with output: 过程试图写入的管道不存在。
[23:53:21.234] Received install output: 过程试图写入的管道不存在。
[23:53:21.235] Stopped parsing output early. Remaining text: 过程试图写入的管道不存在。
[23:53:21.235] Failed to parse remote port from server output
[23:53:21.235] Resolver error: 

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
777 views
Welcome To Ask or Share your Answers For Others

1 Answer

需要给vscode设置:

"remote.SSH.useLocalServer": false,

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...