|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
在VSCode按照格式输入链接地址和端口号后,点击C:\Users\yangxuqing\.ssh\config,然后选择linux系统连接远程服务器,出现下列报错:
[10:51:56.101] > OpenSSH_for_Windows_8.1p1, LibreSSL 3.0.2
[10:51:56.107] Running script with connection command: "C:\windows\System32\OpenSSH\ssh.exe" -T -D 63299 "218.77.209.162" bash
[10:51:56.110] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[10:51:56.531] > ]0;C:\WINDOWS\System32\cmd.exe
[10:51:56.531] Got some output, clearing connection timeout
[10:52:17.596] > ssh: connect to host 218.77.209.162 port 1122: Connection timed out
[10:52:17.609] > 过程试图写入的管道不存在。
[10:52:18.889] "install" terminal command done
[10:52:18.890] Install terminal quit with output: 过程试图写入的管道不存在。
[10:52:18.890] Received install output: 过程试图写入的管道不存在。
[10:52:18.891] Failed to parse remote port from server output
[10:52:18.892] Resolver error: Error:
at m.Create (c:\Users\yangxuqing\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:584145)
at t.handleInstallOutput (c:\Users\yangxuqing\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:582705)
at t.tryInstall (c:\Users\yangxuqing\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:681881)
at async c:\Users\yangxuqing\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:644110
at async t.withShowDetailsEvent (c:\Users\yangxuqing\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:647428)
at async t.resolve (c:\Users\yangxuqing\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:645160)
at async c:\Users\yangxuqing\.vscode\extensions\ms-vscode-remote.remote-ssh-0.102.0\out\extension.js:1:720916
[10:52:18.901] ------
估计是你的服务器都没配好,默认是不允许root用户登录的,你看看要不要以别的用户登录,或者设置成允许root登录
|
|