Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SSH_HOSTNoSSH server host address
SSH_PORTNoSSH server port (default: 22)22
SSH_TIMEOUTNoDefault command timeout in milliseconds (default: 30000)30000
SSH_PASSWORDNoSSH password
SSH_USERNAMENoSSH username
SSH_BLACKLISTNoCommand blacklist, comma-separated regular expressions
SSH_WHITELISTNoCommand whitelist, comma-separated regular expressions
SSH_PASSPHRASENoPrivate key passphrase
SSH_PRIVATE_KEYNoSSH private key file path
SSH_SOCKS_PROXYNoSOCKS proxy server address (e.g., socks://user:password@host:port)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
execute-command

Execute command on connected server and get output result

execute-batch

Execute multiple commands in sequence on connected server

upload

Upload file to connected server

download

Download file from connected server

read-file

Read contents of a file from the remote server

write-file

Write content to a file on the remote server

list-servers

List all available SSH server configurations

test-connection

Test SSH connection and return server information

get-status

Get comprehensive system status information from the remote server (OS, CPU, memory, disk, processes, services)

check-port

Check if a port is open/listening on the remote server or test connectivity to external hosts

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/ZachFlint/ssh-mcp-server'

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