Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSH_LOG_FILENoPath to log file
SSH_BLACKLISTNoComma-separated or JSON override blacklist commands
SSH_LOG_LEVELNoLog verbosity: DEBUG, INFO, WARN, ERROR (default INFO)
SSH_WHITELISTNoComma-separated or JSON override whitelist commands
SSH_ALLOW_SUDONoAllow sudo commands: true or false (default true)
SSH_MCP_CONFIGNoPath to config JSON file
SSH_FILTER_MODENoCommand filtering mode: whitelist, blacklist, disabled (default blacklist)
SSH_LOG_BLOCKEDNoLog blocked commands to stderr: true or false (default true)
SSH_IDLE_TIMEOUTNoIdle connection timeout in seconds (default 120)
SSH_HOST_BLACKLISTNoComma-separated IPs blacklist of allowed host IPs
SSH_HOST_WHITELISTNoComma-separated IPs whitelist of allowed host IPs
SSH_HOST_FILTER_MODENoHost filtering mode: whitelist, blacklist, disabled (default disabled)
SSH_DANGEROUS_PATTERNSNoJSON array override dangerous regex patterns
SSH_FAILED_CONNECTIONS_LOGNoFile path for failed connections log (default ssh-failed-connections.json)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/marian-craciunescu/ssh-mcp-server-secured'

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