Open aeschli opened 3 years ago
There is something very weird going on. Even if I replace the entire script with a simple "echo", it still doesn't work. If I run a script with the default shell "ash" instead of "bash" it works. Is there something weird about "bash" in that container? Looks fine
I get the same problem with the default colima vm, which is also based on Alpine linux.
VS Code Version: 1.64.2
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:00:56.651Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin arm64 21.3.0
Is there a solution for this issue? I am currently facing something similar. I purchased a Raspberry Pi4 and Installed Kodi(LibreELEC) on it. I enabled every setting in Kodi which were needed to allow SSH and I set a new password. The login works without any trouble from PowerShell:
However if I try to login via VS Code I receive the following error:
[23:24:49.402] Log Level: 2
[23:24:49.432] SSH Resolver called for "ssh-remote+192.168.1.253", attempt 1
[23:24:49.433] "remote.SSH.useLocalServer": false
[23:24:49.433] "remote.SSH.useExecServer": true
[23:24:49.434] "remote.SSH.showLoginTerminal": false
[23:24:49.435] "remote.SSH.remotePlatform": {"Raspberry":"linux","Raspberry_Pi_3B+":"linux"}
[23:24:49.435] "remote.SSH.path": undefined
[23:24:49.435] "remote.SSH.configFile": undefined
[23:24:49.435] "remote.SSH.useFlock": true
[23:24:49.435] "remote.SSH.lockfilesInTmp": false
[23:24:49.436] "remote.SSH.localServerDownload": auto
[23:24:49.436] "remote.SSH.remoteServerListenOnSocket": false
[23:24:49.437] "remote.SSH.showLoginTerminal": false
[23:24:49.437] "remote.SSH.defaultExtensions": []
[23:24:49.437] "remote.SSH.loglevel": 2
[23:24:49.438] "remote.SSH.enableDynamicForwarding": true
[23:24:49.438] "remote.SSH.enableRemoteCommand": false
[23:24:49.438] "remote.SSH.serverPickPortsFromRange": {}
[23:24:49.438] "remote.SSH.serverInstallPath": {}
[23:24:49.446] VS Code version: 1.88.1
[23:24:49.446] Remote-SSH version: remote-ssh@0.110.1
[23:24:49.446] win32 x64
[23:24:49.453] SSH Resolver called for host: 192.168.1.253
[23:24:49.453] Setting up SSH remote "192.168.1.253"
[23:24:49.461] Using commit id "e170252f762678dec6ca2cc69aba1570769a5d39" and quality "stable" for server
[23:24:49.466] Install and start server if needed
[23:24:57.246] getPlatformForHost was canceled
[23:24:57.248] Resolver error: Error: Connecting was canceled
at g.Canceled (c:\Users\JustTheBek\.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:499377)
at c:\Users\JustTheBek\.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:579839
at async t.withShowDetailsEvent (c:\Users\JustTheBek\.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:583207)
at async k (c:\Users\JustTheBek\.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:576866)
at async t.resolve (c:\Users\JustTheBek\.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:580578)
at async c:\Users\JustTheBek\.vscode\extensions\ms-vscode-remote.remote-ssh-0.110.1\out\extension.js:2:846687
[23:24:57.258] ------
[23:25:03.116] ConfigFileWatcher: start watching file:///c%3A/Users/JustTheBek/.ssh/config
[23:25:03.116] ConfigFileWatcher: adding save listener
[23:25:03.116] ConfigFileWatcher: adding close listener
[23:25:25.989] ConfigFileWatcher: saving file:///c%3A/Users/JustTheBek/.ssh/config
[23:25:25.989] ConfigFileWatcher: firing change event for file:///c%3A/Users/JustTheBek/.ssh/config
My SSH config in VS Code look like:
Host Raspberry_Pi_4_Kodi
HostName 192.168.1.253
User root
Am I doing something wrong? Does anyone know a solution for this issue? Thanks in advance for the response. Br JustTheBek
Verifying #2271
Remote- SSH: v2021.1.35460
git clone https://github.com/arvindr226/alpine-ssh.git
docker build --build-arg PASSWORD=root -t arvindr226/alpine-ssh -f Dockerfile .
run docker run -d -p 2222:22 arvindr226/alpine-ssh
Remote - SSH
: Connect to host... with root@localhost:2222 (use root as password)