Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Window title, Explorer header, and Windows Jump List show [vscode-remote] instead of [SSH: my-ec2-instance] when using jeanp413.open-remote-ssh

Open brendan-doherty-nz opened this issue 8 months ago • 5 comments

Before opening, please confirm:

Operating System

Windows 11 connecting via remote ssh to Amazon Linux 2023

Kiro Version

0.11.63

Bug Description

When connected to a remote host using the jeanp413.open-remote-ssh extension, Kiro shows a generic remote label ([vscode-remote]) instead of the SSH host label ([SSH: my-ec2-instance]).

This affects:

  • window title
  • Explorer workspace header
  • Windows taskbar Jump List recent entries

With the same extension and SSH config, VS Code shows the expected host label. This makes it hard to distinguish remote hosts and confirm which instance is currently open.

Steps to Reproduce

  1. Install jeanp413.open-remote-ssh in Kiro.

  2. Connect to any host in ~/.ssh/config (example alias: my-ec2-instance).

  3. Open a remote folder.

  4. Observe title/header and Windows Jump List labels.

  5. For validation set: "window.title": "${rootNameShort} [${remoteName}]" and observe ${remoteName} resolves to vscode-remote instead of SSH: my-ec2-instance.

  6. Compare with VS Code using the same extension and host; VS Code shows [SSH: my-ec2-instance].

Expected Behavior

Kiro should display the SSH host label for remote sessions, matching VS Code behavior:

  • window title: [SSH: my-ec2-instance]
  • Explorer workspace header should include SSH: my-ec2-instance
  • Windows Jump List should use the same host label

Kiro should consume extension-provided resource label formatter host suffix (or at minimum show SSH fallback), not raw vscode-remote.

Conversation ID

No response

Additional Context

  • Extension: jeanp413.open-remote-ssh
  • Kiro version: 0.11.63
  • Embedded VS Code version: 1.107.1
  • The extension registers registerResourceLabelFormatter(...) with workspaceSuffix: SSH: .
  • I tested a local workaround with: "window.title": "${rootNameShort} [SSH: my-ec2-instance]"
  • This only affects title text and does not fix underlying remote label resolution.
  • Duplicate check in kirodotdev/Kiro issues did not find an existing issue for this exact label-rendering behavior.

brendan-doherty-nz avatar Mar 22 '26 21:03 brendan-doherty-nz

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both issues are related to Remote SSH connection problems in Kiro, though the new issue focuses on display labeling while #5720 focuses on connection failures. Both involve the jeanp413.open-remote-ssh extension and remote SSH functionality.

github-actions[bot] avatar Mar 22 '26 21:03 github-actions[bot]

This issue has been automatically closed as it appears to be a duplicate of #5720.

If you believe this is incorrect, please comment on this issue and a maintainer will review it.

github-actions[bot] avatar Mar 26 '26 00:03 github-actions[bot]

I do not think this is a duplicate of #5720.

#5720 is about Remote SSH failing during server installation because Kiro generates an incorrect download URL and the connection does not complete.

This issue is different. In my case, the remote connection succeeds, the folder opens, and the session is usable. The problem is that Kiro renders the remote label incorrectly as vscode-remote instead of the expected SSH host label such as SSH: my-ec2-instance.

So the failure mode is not “cannot connect / server install is broken”; it is “connected session, but incorrect remote label resolution in the UI”.

I have also reproduced this against multiple EC2 instances, which makes it unlikely that this is caused by corruption or a bad server install on one particular host. The behavior appears to be tied to how Kiro handles the remote label from jeanp413.open-remote-ssh, not to whether the remote server was installed correctly. The evidence points to a UI label-resolution problem after successful connection, which is materially different from #5720.

For that reason, I believe this issue should be reopened and tracked separately from #5720.

brendan-doherty-nz avatar Mar 26 '26 08:03 brendan-doherty-nz

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Mar 26 '26 08:03 github-actions[bot]

It looks like you have fixed this issue. Thanks.

brendan-doherty-nz avatar Apr 20 '26 02:04 brendan-doherty-nz