我在尝试连接到其中一台远程计算机时遇到以下错误,我无法登录到另一台远程计算机:
[19:26:24.304] SSH Resolver called for "ssh-remote+devde", attempt 1
[19:26:24.304] SSH Resolver called for host: devde
[19:26:24.304] Setting up SSH remote "devde"
[19:26:24.352] Using commit id "6ab598523be7a800d7f3eb4d92d7ab9a66069390" and quality "stable" for server
[19:26:24.355] Testing ssh with ssh -V
[19:26:24.377] ssh exited with code: 0
[19:26:24.377] Got stderr from ssh: OpenSSH_7.9p1, LibreSSL 2.7.3
[19:26:24.383] Running script with connection command: ssh -T -D 51911 -o ConnectTimeout=15 devde bash
[19:26:24.384] Install and start server if needed
[19:26:29.111] > bash: bash: command not found
[19:26:29.112] Got some output, clearing connection timeout
[19:26:29.370] "install" terminal command done
[19:26:29.370] Install terminal quit with output: bash: bash: command not found
[19:26:29.370] Received install output: bash: bash: command not found
[19:26:29.371] Failed to parse remote port from server output
[19:26:29.372] Resolver error:
[19:26:29.375] TELEMETRY: {"eventName":"resolver","properties":{"outcome":"failure","reason":"UnparsableOutput","askedPw":"0","askedPassphrase":"0","asked2fa":"0","askedHostKey":"0","gotUnrecognizedPrompt":"0","remoteInConfigFile":"1"},"measures":{"resolveAttempts":1,"retries":1}}
[19:26:29.377] ------
我尝试在vscode
中修改与终端相关的设置,但没有任何帮助,我在github中也看到了一些错误文件,但它们没有任何帮助。
我也从remote上删除了.vscode-server文件夹,没有帮助。
我也试过Remote-SSH: Kill vscode server on host
命令,没什么帮助。
有什么建议吗?
发布于 2019-10-17 05:08:44
也许这跟
[19:26:29.370] Install terminal quit with output: bash: bash: command not found
[19:26:29.370] Received install output: bash: bash: command not found
看起来远程会话似乎无法启动bash。您可以在本地计算机上检查ssh配置文件中列出的内容吗
https://stackoverflow.com/questions/58415254
复制相似问题