Unable to connect to external Linux Machine via SSH
Is there an existing issue for this bug?
- [x] I have searched the existing open issues and found none that apply.
- [x] If I find any issue of interest that is related or closed, I will included a link to it in this issue.
Required Troubleshooting Steps
- [x] I have read and performed the troubleshooting steps
- [x] I have tried both values of the
remote.SSH.useLocalServersetting - [x] My issue was not covered in the Tips and Tricks linked from the Troubleshooting Wiki.
- [x] I will include a complete copy of my Remote - SSH logs by running Remote-SSH: Show Log in the command palette or from View > Output in the menu bar
[Optional] Diagnose with Copilot
I did not ask the @remote-ssh participant for help
In step 2 of the troubleshooting wiki, what was the result of running the generated SSH command verbatim outside of VS Code?
I did not try step 2 of the troubleshooting steps
Remote-SSH Log
Remote-SSH Log
[16:35:32.623] > Spawned remote CLI: 25977
[16:35:32.626] > Waiting for server log...
[16:35:32.661] > Waiting for server log...
[16:35:32.700] > Waiting for server log...
[16:35:32.741] > Waiting for server log...
[16:35:32.781] > Waiting for server log...
[16:35:32.823] > Waiting for server log...
[16:35:32.864] > Waiting for server log...
[16:35:32.906] > Waiting for server log...
[16:35:32.948] > Waiting for server log...
[16:35:32.990] > Waiting for server log...
[16:35:33.032] > Waiting for server log...
[16:35:33.074] > Waiting for server log...
[16:35:33.116] > Waiting for server log...
[16:35:33.158] > Waiting for server log...
[16:35:33.201] > Waiting for server log...
[16:35:33.243] > b1bd841ae79d: start
> listeningOn====
> osReleaseId==opensuse-slowroll==
> arch==x86_64==
> vscodeArch==x64==
> bitness==64==
> tmpDir==/run/user/1000==
> platform==linux==
> unpackResult====
> didLocalDownload==0==
> downloadTime====
> installTime====
> serverStartTime==621==
> execServerToken==aaaa1111-11a1-1a11-1111-1a1a1a1a1a11==
> platformDownloadPath==cli-alpine-x64==
> SSH_AUTH_SOCK====
[16:35:33.244] > DISPLAY====
> b1bd841ae79d: end
[16:35:33.244] Received install output:
listeningOn====
osReleaseId==opensuse-slowroll==
arch==x86_64==
vscodeArch==x64==
bitness==64==
tmpDir==/run/user/1000==
platform==linux==
unpackResult====
didLocalDownload==0==
downloadTime====
installTime====
serverStartTime==621==
execServerToken==aaaa1111-11a1-1a11-1111-1a1a1a1a1a11==
platformDownloadPath==cli-alpine-x64==
SSH_AUTH_SOCK====DISPLAY====
[16:35:33.248] Failed to parse remote port from server output
[16:35:33.248] Terminating local server
[16:35:33.250] Resolver error: Error
at y.Create (/home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:744751)
at t.handleInstallOutput (/home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:742832)
at e (/home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:798600)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async /home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:823806
at async t.withShowDetailsEvent (/home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:827501)
at async /home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:795312
at async P (/home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:793367)
at async t.resolveWithLocalServer (/home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:794864)
at async A (/home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:820659)
at async t.resolve (/home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:824898)
at async /home/fplinux/.var/app/com.visualstudio.code/data/vscode/extensions/ms-vscode-remote.remote-ssh-0.120.0/out/extension.js:2:1113660
[16:35:33.266] ------
I tried deleting the code-<hash> binary downloaded in the remote machine, set port explicitly on the remote machine, there's no other logs nor any other tips have worked. I've noticed it tries connecting to a None port and a Local Server: Exit 15. I can login into the remote environment just fine using ssh so I know for a fact this is NOT an issue of my current ~/.ssh/config
You could at least learn how to do a god damn propper logging to tell the user wtf is going on and let them debug their end, Resolver error: Error is NOT proper logging.
So much telemetry and bloatware over monaco and for what? Typical "Microsoft" quality software, garbage to the end 🤦 absolute coding circus.
Expected Behavior
SSH working P.E.R.F.E.C.T.L.Y like it works when doing ssh fplinux@serverIP
Actual Behavior
No SSH, no login, just and endless loop of "Retry Connection" and "Read our stupid logs"
Steps To Reproduce
- Install OpenSUSE Slowroll (headless)
- Install Visual Studio Code via flatpak (or snap, tried both)
- Attempt to SSH into remtote OpenSUSE Machine
- Get stuck into an endless cycle of clowny messages
Anything else?
🤦 one has to wonder what kind of brainworm infested developers to make this the most used text editor.
Oh, to add more INRI to the cause:
[Trace - 23:32:12.899] Server install command stdout:
89f830719fd3ed609d1dec31: start
exitCode==0==
listeningOn==33761==
connectionToken==e3199963-3f82-4e13-b220-bf55311c7b03==
logFile==/home/fplinux/.vscodium-server/.c6286962b0f5f2c3ad5e558a439dc3fcfd20b2ac.log==
osReleaseId==opensuse-slowroll==
arch==x86_64==
platform==linux==
tmpDir==/run/user/1000==
89f830719fd3ed609d1dec31: end
[Trace - 23:32:12.908] Creating forwarding server 37247(local) => 33017(socks) => 33761(remote)
VSCodium, the fork without microshit telemetry DOES connect FLAWLESSLY which is kind of ironic given that's a downstream project.
If they work like this on a simple Text Editor, you have to wonder the kind of quality Windows users expect in their Operating System, absolute bogus 🤡
Oh, even MORE INRI for this case. The extension https://open-vsx.org/extension/jeanp413/open-remote-ssh for VSCodium works without errors. Unfortunately, installing it by hand on Visual Studio Code does nothing, all options and usage are blocked from the UI and command palette. So if you are on Visual Studio you are stuck with this extension...
If you are going to force users into your flawed tools, at least make them work with no mistakes 🤦 clown attempt of developers.