Skip to content
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

[Remote-SSH Bug]: After updating VSCode to the latest version, can not connect to remote server by ssh #9480

Closed
2 of 3 tasks
EricLabile opened this issue Feb 3, 2024 · 5 comments
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@EricLabile
Copy link

Is there an existing issue for this bug?

  • I have searched the existing issues

Required Troubleshooting Steps

  • I have followed these troubleshooting steps
  • I have tried both values of the remote.SSH.useLocalServer setting

Connect Locally

It doesn’t connect successfully (same error message)

->

No response

Expected Behavior

After updating VSCode to the latest version, can not connect to remote server by ssh.
I tried various methods(delete the "known_hosts", clear the ".vscode-server" etc.) and it still doesn't work, showing "The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++"

Steps To Reproduce

No response

Remote-SSH Log

Remote-SSH Log

[PASTE LOG HERE]

Anything else?

No response

@EricLabile EricLabile added the ssh Issue in vscode-remote SSH label Feb 3, 2024
@isaacNingLee
Copy link

Hi,
I have the same problem as well, it seems the new update require some specific glibc and libstdc++ which is not compatible to my remote ends. I login to my remote end and delete the .vscode server to trigger wget again but it still fails. I am new to Github issue and I apology if my comment is not adhering to the required format

Cheers

@EricLabile
Copy link
Author

The log is "Warning: Missing GLIBCXX >= 3.4.25! from /usr/lib64/libstdc++.so.6.0.19
Warning: Missing GLIBC >= 2.28! from /usr/lib64/libc-2.17.so
Error: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information."
Hope this will be useful.

@Manaspaul623
Copy link

Manaspaul623 commented Feb 4, 2024

Hi,
I've the same issue. I was connecting to ec2 till tomorrow before updating to latest VS Code.
But it is not connecting after updating.
Showing the below message -
"The remote host may not meet VS Code Server's prerequisites for glibc and libstdc++. "

So I've downgraded to VS code version 1.85 and it is connecting.

@DavidC-75
Copy link

DavidC-75 commented Feb 5, 2024

So I've downgraded to VS code version 1.85 and it is connecting.

Maybe downgrading isn't necessary after all (with some linux distributions at least). See #9467 (comment) and #9467 (comment)

@roblourens
Copy link
Member

microsoft/vscode#203375

@microsoft microsoft locked and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

5 participants