Skip to content

Feature request: ssh command support #783

@veeskelad

Description

@veeskelad

Use Case

When using Claude Code (or other AI coding assistants), ssh is one of the most frequent commands — especially for remote server management. Remote commands like docker logs, ls, cat, systemctl status etc. executed via ssh produce verbose output that consumes significant context window tokens.

Statistics (from rtk discover)

  • ~5,000 ssh commands in 30 days (single user)
  • Most common patterns:
    • ssh user@host "docker logs container"
    • ssh user@host "ls -la /path"
    • ssh user@host "cat /etc/config"
    • ssh user@host "systemctl status service"

Proposed Behavior

rtk ssh user@host "docker logs container" could apply the same filters RTK already has for docker, ls, cat etc. — but to the remote output.

The challenge is that RTK would need to detect the "inner command" being executed remotely and apply the appropriate filter.

Impact

ssh is by far the #1 unhandled command by volume in rtk discover output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort-largePlusieurs jours, nouveau moduleenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions