-
Notifications
You must be signed in to change notification settings - Fork 313
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]: SSH Forward Agent not working anymore? #9767
Comments
NOTE: Disabling remote.SSH.useExecServer didn't work. |
@pavel-francirek - I ran into a similar situation like you did. I want to check if we are really hitting the same bug or a slight variation as for me after disabling Cloud you check with v0.110.1 if the For me this want the case and this variable was basically stale after a the second remote connection to a freshly installed remove server. With stale meaning that it worked the first time pointing to a existing forwarded agent socket file and afterwards stayed on this exact value and didn't update on subsequent logins/remote connections. Hence this was causing e.g. git pull errors for me. However it is important to mention that the actual agent forwarding was working fine in all cases. But the shell environment wasn't updated properly to make use of the forwarded socket file. You should be able to check the situation on the remote system with the following commands:
|
@danielhass
|
@pavel-francirek could you try the following to see if this resolves the issue for you? (helped on my side)
Afterwards, at least for me, this issue has been gone. For me it looks like as there is something persisted on the remote side that is causing this issue. And once that's there, a change of the exec option doesn't help. |
Had the same issue. On Ubuntu 22.0.4, setting |
Thank you for good hint. "Remote-SSH: Uninstall VS Code Server from Host..." from Command Palette was the right solution. Had to do it on all dev servers and had to set remote.SSH.useExecServer: true or it didn't work with Windows ssh-agent but everything works again now. |
Hi all, Shouldn't this be promoted to a software issue and tracked? |
@hellt I would also vote for letting this issue open and at least for a maintainer to look at this situation. @pavel-francirek would you mind re-open it? |
@hellt , here's some docs: https://github.com/microsoft/vscode-remote-release/wiki/Remote-SSH-troubleshooting#remotesshuseexecserver---exec-server-mode |
I'm seeing the same issue when I work remotely from home. I guess the difference is that my client often reconnects when the machine goes to sleep. My office PC is set up not to sleep ever. |
Hello. I'm not using Remote SSH extension, i'm using Dev Containers. How to solve this issue? Thanks |
Is there an existing issue for this bug?
Required Troubleshooting Steps
remote.SSH.useLocalServer
settingConnect Locally
It connects successfully
->
No response
Expected Behavior
SSH operation on remote stopped working in v0.110.1 update:
Works in v0.110.0 (after downgrade) and older:
VSCode runs on Windows 10, remote is Linux Ubuntu (different LTS versions).
Steps To Reproduce
No response
Remote-SSH Log
Remote-SSH Log
The text was updated successfully, but these errors were encountered: