ssh_forward_port
Create SSH tunnel (local -> remote)
How to use it
Project documentation lists ssh_forward_port for the MCP Remote Ssh MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install MCP Remote Ssh
uvx mcp-remote-ssh # or: pip install mcp-remote-sshOther tools in MCP Remote Ssh (23)
Clear redaction registry (values become visible again)
Close a tunnel
Close a session and release resources
Connect with password, key, or agent auth. Optional record=True to start a transcript immediately. Returns sessionid
Download remote file to local machine
Run a command, returns {stdout, stderr, exitcode}
Return the transcript as text or JSONL (lastn optional)
List active tunnels
List directory with metadata
List active sessions
Load secrets from a local env file; values never returned to the LLM
Read a remote text file
Write the transcript to a local file on the MCP host
Open persistent shell (preserves cwd, env, processes)
Read current output buffer
Send text (with optional Enter)
Send Ctrl+C, Ctrl+D, etc.
Wait for a pattern or output to stabilize
Start recording execute/sudo/shell I/O for this session
Stop recording; transcript stays available until the session is closed
Run with sudo elevation
Upload local file to remote host
Write/append to a remote file