Skip to main content
Glama

ssh_connect

Open a persistent SSH connection to a remote host for executing commands and transferring files through the SSH MCP Server.

Instructions

Open a persistent SSH session to a host.

Returns a session_id that can be passed to run_ssh_command and transfer_file to reuse the connection. Sessions have keepalive probes and auto-close after idle timeout.

Risk level: low.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
host_idYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bhayanak/ssh-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server