Skip to content

SSH disconnects when the laptop goes to sleep even for a short time while the native terminal is running #5755

@thechargedneutron

Description

@thechargedneutron
  • 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:

  1. Open native terminal in macOS and connect to a remote server. Connect to the same server with vscode.
  2. 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

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalitysshIssue in vscode-remote SSH

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions