-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi,
I'm trying to connect to my BAS from VSCode using this extension but most of the time I get this issue:
[12:16:16.704] Running script with connection command: "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 52723 "bas-xxxx.eu20cf.applicationstudio.cloud.sap.ws-xxxx" bash
[12:16:16.706] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[12:16:48.713] Resolver error: Error: Connecting with SSH timed out
at m.Timeout (c:\Users\xxxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:501356)
at Timeout._onTimeout (c:\Users\xxxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:621986)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
Full log
[12:16:16.563] Log Level: 2
[12:16:16.570] SSH Resolver called for "ssh-remote+bas-xxxxx.eu20cf.applicationstudio.cloud.sap.ws-xxxx", attempt 1
[12:16:16.570] "remote.SSH.useLocalServer": false
[12:16:16.571] "remote.SSH.useExecServer": true
[12:16:16.571] "remote.SSH.showLoginTerminal": false
[12:16:16.571] "remote.SSH.remotePlatform": {"bas-xxxxx.eu20cf.applicationstudio.cloud.sap.ws-xxxx":"linux","bas-xxxx.eu20cf.applicationstudio.cloud.sap.ws-xxxx":"linux"}
[12:16:16.571] "remote.SSH.path": undefined
[12:16:16.571] "remote.SSH.configFile": undefined
[12:16:16.571] "remote.SSH.useFlock": true
[12:16:16.571] "remote.SSH.lockfilesInTmp": false
[12:16:16.571] "remote.SSH.localServerDownload": auto
[12:16:16.571] "remote.SSH.remoteServerListenOnSocket": false
[12:16:16.571] "remote.SSH.showLoginTerminal": false
[12:16:16.571] "remote.SSH.defaultExtensions": ["clement-royer.fiori-pack"]
[12:16:16.572] "remote.SSH.loglevel": 2
[12:16:16.572] "remote.SSH.enableDynamicForwarding": true
[12:16:16.572] "remote.SSH.enableRemoteCommand": false
[12:16:16.572] "remote.SSH.serverPickPortsFromRange": {}
[12:16:16.572] "remote.SSH.serverInstallPath": {}
[12:16:16.572] "remote.SSH.permitPtyAllocation": false
[12:16:16.572] "remote.SSH.preferredLocalPortRange: undefined
[12:16:16.572] "remote.SSH.useCurlAndWgetConfigurationFiles: false
[12:16:16.580] VS Code version: 1.92.0
[12:16:16.580] Remote-SSH version: remote-ssh@0.113.1
[12:16:16.581] win32 x64
[12:16:16.583] SSH Resolver called for host: bas-xxxxx.eu20cf.applicationstudio.cloud.sap.ws-xxxx
[12:16:16.583] Setting up SSH remote "bas-xxxxx.eu20cf.applicationstudio.cloud.sap.ws-xxxx"
[12:16:16.586] Using commit id "b1c0a14de1414fcdaa400695b4db1c0799bc3124" and quality "stable" for server
[12:16:16.589] Install and start server if needed
[12:16:16.599] Checking ssh with "C:\Python311\Scripts\ssh.exe -V"
[12:16:16.602] Got error from ssh: spawn C:\Python311\Scripts\ssh.exe ENOENT
[12:16:16.603] Checking ssh with "C:\Python311\ssh.exe -V"
[12:16:16.604] Got error from ssh: spawn C:\Python311\ssh.exe ENOENT
[12:16:16.604] Checking ssh with "C:\WINDOWS\system32\ssh.exe -V"
[12:16:16.605] Got error from ssh: spawn C:\WINDOWS\system32\ssh.exe ENOENT
[12:16:16.605] Checking ssh with "C:\WINDOWS\ssh.exe -V"
[12:16:16.606] Got error from ssh: spawn C:\WINDOWS\ssh.exe ENOENT
[12:16:16.606] Checking ssh with "C:\WINDOWS\System32\Wbem\ssh.exe -V"
[12:16:16.607] Got error from ssh: spawn C:\WINDOWS\System32\Wbem\ssh.exe ENOENT
[12:16:16.607] Checking ssh with "C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe -V"
[12:16:16.608] Got error from ssh: spawn C:\WINDOWS\System32\WindowsPowerShell\v1.0\ssh.exe ENOENT
[12:16:16.608] Checking ssh with "C:\WINDOWS\System32\OpenSSH\ssh.exe -V"
[12:16:16.699] > OpenSSH_for_Windows_8.6p1, LibreSSL 3.4.3
[12:16:16.704] Running script with connection command: "C:\WINDOWS\System32\OpenSSH\ssh.exe" -T -D 52723 "bas-xxxx.eu20cf.applicationstudio.cloud.sap.ws-xxxx" bash
[12:16:16.706] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[12:16:48.713] Resolver error: Error: Connecting with SSH timed out
at m.Timeout (c:\Users\xxxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:501356)
at Timeout._onTimeout (c:\Users\xxxx\.vscode\extensions\ms-vscode-remote.remote-ssh-0.113.1\out\extension.js:2:621986)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
[12:16:48.718] ------
Things I have tried to fix this:
- Changing the
Remote - SSH : Timeoutto 60 secondes (instead of 15) - Set
remote.ssh.useLocalServerto false
Only way to make this work is to restart VSCode again and again until this works ..
Metadata
Metadata
Assignees
Labels
No labels