Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hard to exitcoder ssh after workspace/agent has gone away #4787

Closed as not planned
Labels
cliArea: CLIstaleThis issue is like stale bread.
@mafredri

Description

@mafredri

This is partially related to#2130, but different enough to warrant it's own issue. (This is borderline a bug, maybe a feature.)

When usingcoder ssh there's no way to exit the command after losing connection to the agent. If the workspace was shut down, reconnection will never happen and the only way to quit the command is to:

  1. Close the terminal
  2. Runkill $pid from another terminal (or process manager)
  3. Wait for ~20 minutes until the command exits by itself with message (see below)

Exit message forcoder ssh after ~20 minutes of workspace being shut down:

SSH connection ended unexpectedlyRun 'coder ssh --help' for usage.

This is not a critical issue but the user experience could be improved. That is to say, it's not ideal that the user has no option but to open a second terminal / process manager.

SSH has a key combination that immediately exists the command no matter what:↩~. (return tilde dot). Listening to this combo incoder ssh could make sense too. Alternatively this issue could be alleviated by exiting on workspace stop (i.e. proposed fix in#2130).

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliArea: CLIstaleThis issue is like stale bread.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp