SSH Session Manager

•
4
•

Manages persistent SSH PTY sessions for MCP clients, providing actor-aware input tracking, split dashboard rendering, and automatic session cleanup.

ssh-session-mcp is a robust persistent SSH PTY session manager designed for MCP clients, enabling seamless collaboration between users and AI agents within the same terminal session. It addresses the common challenge of stateless SSH operations by offering a shared PTY, a browser-based viewer for live inspection, and mechanisms to track and attribute input from different actors. This tool enhances long-running remote work by adding critical runtime layers such as input locking, configurable policy rules for command execution, and multi-device support, transforming basic command execution into a manageable and inspectable collaborative environment.

Key Features

01Shared PTY for human and AI collaboration
02Input lock to prevent concurrent typing by user and AI
03Browser-based terminal for live inspection and manual intervention
04Actor-aware input tracking with transcript markers
05Configurable policy rules (safe/full modes) for command execution
062 GitHub stars

Use Cases

01AI-assisted remote development on Linux boards and SSH servers
02Managing embedded, ROS, training, and deployment hosts requiring persistent terminal access
03Users seeking AI assistance for terminal tasks without surrendering full control