Skip to content

Why is the SSH Max Reconnection attempts option limited to a max value of 8? #7552

Open

Description

@zeptoon

What is the point of making this a setting if I'm not allowed to set it to the value I want?

image

I think this field should be able to accept values greater than 8.

What's the rationale for 8 being the absolute max limit anyone anywhere on this planet would ever want?

Activity

  1. added
    sshIssue in vscode-remote SSH
    and removed
    containersIssue in vscode-remote containers
    on Nov 22, 2022
  2. eleanorjboyd commented on Nov 22, 2022

    @eleanorjboyd

    Hello! We do not actually have a reason for the 8 retries, or at least not one we could find in our resources now. The setting description is actually incorrect, if you set it to null it will retry infinite number of times so for now if you want to set it to null that will get you the most retries. Moving forward I will mark this as a bug to fix so we update the setting to allow >8 and update the description to match behavior. Thanks!

  3. zeptoon commented on Nov 23, 2022

    @zeptoon
    Author

    Awesome, thank you!!!!!!!!!!!!!!!!!

  4. locked and limited conversation to collaborators on Jan 7, 2023
  5. joshspicer commented on Dec 13, 2024

    @joshspicer
    Contributor

    May I ask why you'd need to set this higher than 8 (maybe there's something else we can improve more holistically)? We also have a configurable timeout (which can be set to infinity) that may be of interest to you

  6. added and removed
    bugIssue identified by VS Code Team member as probable bug
    on Dec 16, 2024
  7. removed their assignment
    on Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    debtCode quality issuespolishsshIssue in vscode-remote SSH

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions