Skip to main content
Glama

ssh_connect

Establish SSH connections to remote servers for executing commands and managing files. Returns a session ID for subsequent operations using password or key authentication.

Instructions

Connect to a remote SSH server. Returns session_id for subsequent commands.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hostYesHostname or IP address
portNoSSH port
usernameNoSSH username (or set SSH_USER env var)
auth_modeYesAuthentication mode
passwordNoSSH password (or set SSH_PASSWORD env var)
key_pathNoPath to SSH private key
force_newNoForce new session even if one exists
timeout_minutesNoSession inactivity timeout

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/code-pumpkin/remote-ssh-mcp'

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