首页 > 其他分享 >vscode的ssh连接报错过程试图写入的管道不存在

vscode的ssh连接报错过程试图写入的管道不存在

时间:2023-12-29 15:46:42浏览次数:23  
标签:38 15 vscode System32 Windows exe 报错 ssh

报错

[15:38:48.548] Running script with connection command: "C:\Windows\System32\OpenSSH\ssh.exe" -T -D 11892 "nvidia@nvidia" bash
[15:38:48.569] Terminal shell path: C:\Windows\System32\cmd.exe
[15:38:53.152] > ssh: Could not resolve hostname nvidia: \262\273\326\252\265\300\325\342\321\371\265\304\326\367\273\372\241\243
> 过程试图写入的管道不存在。
> ]0;C:\Windows\System32\cmd.exe
[15:38:53.153] Got some output, clearing connection timeout
[15:38:54.463] "install" terminal command done
[15:38:54.464] Install terminal quit with output: ]0;C:\Windows\System32\cmd.exe
[15:38:54.464] Received install output: ]0;C:\Windows\System32\cmd.exe
[15:38:54.464] Failed to parse remote port from server output
[15:38:54.466] Resolver error: Error: 
	// 省略
[15:38:54.473] ------

解决

到网上搜,有的人是服务器ip换了,或者是其他信息换了,导致连接不上,但这些解决方法都不适用于我

我的配置文件是这样的:

img

我猜测是因为我给Host的命名加上了@符号,我试着把@符号变成-符号之后,就能正常连接了......

标签:38,15,vscode,System32,Windows,exe,报错,ssh
From: https://www.cnblogs.com/korin5/p/17935012.html

相关文章