Skip to content

Reconnect to Remote SSH at any time without reloading the window #10122

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

Closed
RickoNoNo3 opened this issue Jul 31, 2024 · 1 comment
Closed

Reconnect to Remote SSH at any time without reloading the window #10122

RickoNoNo3 opened this issue Jul 31, 2024 · 1 comment
Assignees

Comments

@RickoNoNo3
Copy link

In the current setup, Remote SSH can reconnect to the server automatically in some situations that retries no more than 8 times (as the upper limit per settings)

Once a server is inaccessible for a long period, such as 30 min, it is clear that the auto-reconnect feature of Remote SSH has been terminated. A popup window stating "Cannot reconnect. Please reload the window." will appear. We can do nothing within the same workspace on remote until we reload the window.

In fect, it is important to note that "RELOAD WINDOW" is vastly different from "RECONNECT". The former forcibly discards any unsaved changes if they were not saved in time before the connection was closed. That's troubling due to the unpredictable unavaibility of our server.

Is there a function or command for in-window reconnection at any time, instead of relying solely on extension behaviors, and instead of reloading window?

@roblourens roblourens transferred this issue from microsoft/vscode Jul 31, 2024
@roblourens
Copy link
Member

I think your request basically fits into this one #3096 to support a long-running ssh session rather than shutting down remote sessions that appear to be idle

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants