Skip to main content
Glama

MCP SSH Session

by devnullvoid

close_session

Terminate SSH connections to remote hosts by specifying hostname, IP address, or SSH config alias to free up system resources and end remote sessions.

Instructions

Close a specific SSH session.

The host parameter can be either a hostname/IP or an SSH config alias.

Args: host: Hostname, IP address, or SSH config alias username: SSH username (optional, will use SSH config or current user) port: SSH port (optional, will use SSH config or default 22)

Input Schema

NameRequiredDescriptionDefault
hostYes
portNo
usernameNo

Input Schema (JSON Schema)

{ "properties": { "host": { "type": "string" }, "port": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null }, "username": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null } }, "required": [ "host" ], "type": "object" }

Other Tools from MCP SSH Session

Related Tools

    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/devnullvoid/mcp-ssh-session'

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