Skip to content

Opening the same SSH remote via CLI creates duplicate windows #30829

@nrontsis

Description

@nrontsis

Issue

When opening the same SSH remote location twice through the Zed CLI, two separate windows are created. This behavior is inconsistent with how Zed handles local folders, where opening the same folder twice refocuses the existing window instead of creating a duplicate.

Expected Behavior

Opening the same SSH remote location multiple times via the CLI should refocus the existing window containing that remote location, consistent with how local folder paths are handled.

How to Reproduce

Run twice:

zed ssh://user@example.com/path/to/directory

Zed Version and System Specs

Zed: v0.185.15 (Zed)
OS: macOS 15.4.1
Memory: 36 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cliCommand-line interface feedbackplatform:remoteRemote development, SSH and zed-remote-serverstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions