Skip to content

Show SSH remote metadata in the terminal footer/toolbelt #13430

Description

@cycle2zhou

Problem

When working with multiple SSH sessions in Warp, it is not always clear enough which remote machine the current terminal input is about to affect.

Existing workarounds such as customizing the prompt, changing the tab title, or setting a tab color can help, but they are not always visible enough, can be overwritten, or may be too far away from the input area. The most important moment to confirm the remote identity is usually right before the user types and executes a command.

Because of that, it would be helpful if remote session identity could be shown close to the terminal input area.

Proposal

Warp already has a persistent footer/toolbelt UI for Agent and CLI Agent sessions. It would be useful for regular SSH sessions to have a similar remote-session information chip.

For example, when the current tab enters an SSH session, Warp could show a persistent remote-session chip near the terminal input area:

SSH · prod · 10.8.2.56

The chip could support displaying or configuring metadata such as:

  • Real remote IP
  • Environment label, such as prod / staging / dev
  • SSH alias
  • Resolved hostname
  • Username, optionally shown and hidden by default

Why not just the tab title?

This request is not only about changing the tab title or tab color.

The tab title is useful for distinguishing multiple sessions, but it is farther away from the input area and can be truncated when many tabs are open. The moment when the user most needs to confirm the remote identity is right before executing a command.

A footer/toolbelt chip is closer to the command input area, which makes it a better persistent reminder of which remote environment the next command will affect.

Expected behavior

  • Show the remote-session chip when an SSH session starts.
  • Hide the chip when the SSH session exits.
  • Make the real remote IP easy to display prominently.
  • Allow the environment label to be configured, such as prod / staging / dev.
  • Allow hostname and username to be shown or hidden.
  • Allow users to disable this feature.
  • Prioritize support for Warpified SSH sessions.
  • If metadata can be inferred safely, also support regular plain SSH sessions.

Related but not identical issues

There are already related requests, but they do not fully cover this use case:

This request is specifically about showing SSH remote-session metadata, such as the real remote IP and environment label, in a bottom input-area UI similar to the Agent footer/toolbelt.

Metadata

Metadata

Assignees

Labels

area:sshSSH and remote-session behavior, including tmux-related terminal flows.area:terminal-inputTerminal command-line input, cursor movement, key handling, and input editing.area:ui-frameworkCore Warp UI framework, rendering, layout, and windowing infrastructure.enhancementNew feature or request.needs-mocksrepro:highThe report includes enough evidence that the issue appears highly reproducible.triagedIssue has received an initial automated triage pass.warp:auto-triage-review

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions