microsoft / microsoft/vscode-remote-release
SSH disconnects when the laptop goes to sleep even for a short time while the native terminal is running
Open
@roblourens is already working on this.
Since Jun 29, 2023.
feature-request
ssh
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
- VSCode Version: 1.62.0-insider
- Local OS Version: macOS Big Sur 11.5.2
- Remote OS Version: Ubuntu 18.04 LTS
- Remote Extension/Connection Type: SSH
- Logs:
Steps to Reproduce:
- Open native terminal in macOS and connect to a remote server. Connect to the same server with vscode.
- Close the laptop lid and instantly open it up. Alternatively, let the laptop sleep due to inactivity and then instantly wake it up using the trackpad.
The vscode is now disconnected and asks me to reload window. The macOS terminal is still connected to the remote and works perfectly. Is there a way to delay the session time-out time in vscode? It is a bit annoying to reload every time the screen goes off for a minute. I have to increase the sleep duration to tackle this issue.
Does this issue occur when you try this locally?: Yes
Does this issue occur when you try this locally and all extensions are disabled?: Yes
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.