-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After updating to VS Code Insiders 1.53, Remote SSH stopped working #4292
Comments
When trying to [16:22:38.760] Log Level: 2
[16:22:38.767] [email protected]
[16:22:38.767] win32 x64
[16:22:38.768] SSH Resolver called for "ssh-remote+mac", attempt 1
[16:22:38.769] "remote.SSH.useLocalServer": false
[16:22:38.769] "remote.SSH.showLoginTerminal": false
[16:22:38.769] "remote.SSH.remotePlatform": {"mac":"macOS"}
[16:22:38.769] "remote.SSH.sshPath": undefined
[16:22:38.770] "remote.SSH.sshConfigurationFile": undefined
[16:22:38.770] "remote.SSH.useFlock": true
[16:22:38.770] "remote.SSH.lockfilesInTmp": false
[16:22:38.770] "remote.SSH.localServerDownload": auto
[16:22:38.770] "remote.SSH.remoteServerListenOnSocket": false
[16:22:38.770] "remote.SSH.showLoginTerminal": false
[16:22:38.771] "remote.SSH.maxReconnectionAttempts": 9007199254740991
[16:22:38.771] SSH Resolver called for host: mac
[16:22:38.771] Setting up SSH remote "mac"
[16:22:38.833] Using commit id "e17aea136d32fdb06d9b32184b04ccd36bb51e9c" and quality "insider" for server
[16:22:38.838] Install and start server if needed
[16:22:38.841] Checking ssh with "ssh -V"
[16:22:38.917] > OpenSSH_for_Windows_7.7p1, LibreSSL 2.6.5
[16:22:38.920] Running script with connection command: ssh -T -D 53864 mac bash
[16:22:38.923] Terminal shell path: C:\WINDOWS\System32\cmd.exe
[16:22:39.115] >
[16:22:39.116] Got some output, clearing connection timeout
[16:22:39.806] > b4d2d5c8d53e: running
> Acquiring lock on /Users/andrepolykanine/.vscode-server-insiders/bin/e17aea136d3
> 2fdb06d9b32184b04ccd36bb51e9c/vscode-remote-lock.andrepolykanine.e17aea136d32fdb
> 06d9b32184b04ccd36bb51e9c
> \ln /Users/andrepolykanine/.vscode-server-insiders/bin/e17aea136d32fdb06d9b32184
> b04ccd36bb51e9c/vscode-remote-lock.andrepolykanine.e17aea136d32fdb06d9b32184b04c
> cd36bb51e9c.target /Users/andrepolykanine/.vscode-server-insiders/bin/e17aea136d
> 32fdb06d9b32184b04ccd36bb51e9c/vscode-remote-lock.andrepolykanine.e17aea136d32fd
> b06d9b32184b04ccd36bb51e9c
>
[16:22:39.831] > Installing to /Users/andrepolykanine/.vscode-server-insiders/bin/e17aea136d32fdb
> 06d9b32184b04ccd36bb51e9c...
> b4d2d5c8d53e%%1%%
> Downloading with curl
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
[16:22:39.931] > 100 9 100 9 0 0 104 0 --:--:-- --:--:-- --:--:-- 104
> curl download failed
> 404
> printenv:
> SHELL=/bin/zsh
> TMPDIR=/var/folders/5g/400zzz211k52lld4t6q06r4r0000gn/T/
> SSH_CLIENT=172.19.201.2 53866 22
> USER=andrepolykanine
> VSCODE_AGENT_FOLDER=/Users/andrepolykanine/.vscode-server-insiders
> MAIL=/var/mail/andrepolykanine
> PATH=/usr/bin:/bin:/usr/sbin:/sbin
> PWD=/Users/andrepolykanine/.vscode-server-insiders/bin/e17aea136d32fdb06d9b3
> 2184b04ccd36bb51e9c
> SHLVL=1
> HOME=/Users/andrepolykanine
> LOGNAME=andrepolykanine
> SSH_CONNECTION=172.19.201.2 53866 172.19.196.22 22
> _=/usr/bin/printenv
> OLDPWD=/Users/andrepolykanine
> Trigger local server download
> b4d2d5c8d53e:trigger_server_download
> platform==macOS==
> vscodeArch==x64==
> destFolder==/Users/andrepolykanine/.vscode-server-insiders/bin/e17aea136d32fdb06
> d9b32184b04ccd36bb51e9c==
> b4d2d5c8d53e:trigger_server_download_end
> Waiting for client to transfer server archive...
> Waiting for /Users/andrepolykanine/.vscode-server-insiders/bin/e17aea136d32fdb06
> d9b32184b04ccd36bb51e9c/vscode-scp-done.flag and vscode-server.tar.gz to exist
>
[16:22:39.932] Got malformed request to download on client, invalid platform: macOS
[16:22:39.935] Resolver error: Error: Client-side server download failed
at Function.Create (c:\Users\andre.polykanine\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:64276)
at c:\Users\andre.polykanine\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:134822
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async I (c:\Users\andre.polykanine\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:310885)
at async c:\Users\andre.polykanine\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:309029
at async Object.t.withShowDetailsEvent (c:\Users\andre.polykanine\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:403706)
at async Object.t.resolve (c:\Users\andre.polykanine\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:1:312426)
at async c:\Users\andre.polykanine\.vscode-insiders\extensions\ms-vscode-remote.remote-ssh-0.62.0\out\extension.js:127:110280
[16:22:39.940] ------ But the Any help is hugely appreciated as this is essential for my work. I'm a screen reader user, so working on Windows with an SSH connection to the Mac is the most convenient way for me to be as performant as my other colleagues. Thanks. |
I'm having the same issue with same build but from macOS Apple Silicon to macOS Intel both latest Big Sur. |
Same here. Any help appreciated. |
For everyone who wants to downgrade, here's the link to a working build (adjust according to your OS): https://vscode-update.azurewebsites.net/1.52.0-insider/win32-x64/insider For more info see microsoft/vscode#46089. |
I wonder if there is a link to download a specific previous build. |
I don't fully understand what the log is showing but I pushed a fix to the nightly version of the SSH extension which should work around it. Please try that. But I don't think that mac ARM is supported yet for remote? |
I guess 1.53 insiders should support M1, please discuss this in #4069 @neoswallow |
At least SSH portion of remote has been working on 1.53.0-insiders M1 builds (host mac is an Intel mac) until it broke with yesterday's build.
Notably
and resulting |
Sorry for a newbie question, but how to install a nightly version of the extension? My Mac is Intel and it's on Catalina. |
Oh, I see the problem now. Looks like the vscode client build that you have was incomplete, and the mac server and mac intel client bits are missing. So I couldn't repro it from my mac intel client because it's one build behind, but arm mac and windows clients will have this issue. Trying to get a new build out, and the ssh nightly change is not relevant after all.
|
Ok we have published a build which is complete, so this should work normally now on the latest insiders. Sorry for the trouble. We have checks to prevent publishing incomplete builds but they were lost in some build changes. |
After updating 1.53.0-insiders to latest version, (I also disabled remote-ssh nightly and enabled regular version) I can confirm that it works now. |
You can search for remote-ssh in extensions tab and it will show nightly version alongside regular version. Name: Remote - SSH (Nightly) |
Closing this since we should be back to normal |
still have this issue |
I'm not having the issue currently. |
Steps to Reproduce:
Expected Result: Everything should work as before.
Actual Result:
Does this issue occur when all extensions are disabled?: N/A, Remote SSH is required
The text was updated successfully, but these errors were encountered: