Skip to main content
Glama

create_ssh_session

Open interactive SSH sessions with key or password authentication, supporting persistent connections and SSH config aliases for remote server management.

Instructions

Open an interactive SSH session (supports key/password auth and SSH config aliases)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandNoInitial command for persistent session (default: /bin/bash)
hostYesSSH host IP or hostname
ignore_host_keyNoSkip known_hosts check (not recommended)
key_pathNoSSH private key path (default: ~/.ssh/id_ed25519, id_rsa)
passwordNoOptional if using key auth
persistentNoUse ai-tmux for persistent session (survives SSH disconnect)
portNoSSH port (default: 22)
session_idNoAttach to existing ai-tmux session by ID (use list_remote_sessions to find IDs)
userYes

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/raychao-oao/pty-mcp'

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