'Keep alive' for SSH sessions #10161

Closed
opened 2026-01-31 02:14:02 +00:00 by claunia · 3 comments
Owner

Originally created by @mehargags on GitHub (Aug 14, 2020).

Is there a config parameter to set in powershell and other profiles to enable 'keep alive' for SSH sessions fired up from the MS Terminal ?
thx

Originally created by @mehargags on GitHub (Aug 14, 2020). Is there a config parameter to set in powershell and other profiles to enable 'keep alive' for SSH sessions fired up from the MS Terminal ? thx
claunia added the Needs-TriageNeeds-Tag-FixNeeds-Author-Feedback labels 2026-01-31 02:14:02 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 14, 2020):

Which ssh are you using?

  • If you're using the ssh.exe that ships with windows, then this is probably a question that's better suited for PowerShell/Win32-OpenSSH
  • If you're using the ssh from inside a WSL instance, then you'll want to configure that however you'd normally configure linux ssh. This SO post looked relevant
@zadjii-msft commented on GitHub (Aug 14, 2020): Which `ssh` are you using? * If you're using the `ssh.exe` that ships with windows, then this is probably a question that's better suited for [PowerShell/Win32-OpenSSH](https://github.com/PowerShell/Win32-OpenSSH/issues) * If you're using the `ssh` from inside a WSL instance, then you'll want to configure that however you'd normally configure linux ssh. [This SO post ](https://stackoverflow.com/questions/25084288/keep-ssh-session-alive)looked relevant
Author
Owner

@ghost commented on GitHub (Aug 18, 2020):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Aug 18, 2020): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Author
Owner

@dmiller423 commented on GitHub (Feb 28, 2022):

ssh -o ServerAliveInterval=20

@dmiller423 commented on GitHub (Feb 28, 2022): ssh -o ServerAliveInterval=20
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10161