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

SSH connection seems to remain active after being disconnected from agent #2130

Closed as not planned
Labels
apiArea: HTTP APIcliArea: CLIsiteArea: frontend dashboardstaleThis issue is like stale bread.
@mafredri

Description

@mafredri

When using SSH (ssh coder.workspace), the connection remains active after being disconnected from agent.

Steps to reproduce:

  1. coder create workspace
  2. ssh coder.workspace
  3. coder delete workspace (orstop,start)

After step 3, the SSH command remains running until user input. After the switch to Tailscale networking, this applies for bothssh usingProxyCommand andcoder ssh. (Also applies to other commands using SSH, likesftp.)

Typically when an SSH server goes away, the client is notified and we see something like:

Connection to [host] closed by remote host.Connection to [host] closed.

Ideally we would also detect this client-side by checking workspace status from the coder API, if we're trying to connect to an outdated agent (i.e. workspace state changed after connection), we should either:

  1. Disconnect and exit
  2. Reconnect with a "Reconnected, but previous state was lost" (this is not a good message, just to illustrate)

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP APIcliArea: CLIsiteArea: frontend dashboardstaleThis 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