Ssh
Ssh securely executes commands on remote servers via SSH, streamlining automation and system administration tasks efficiently.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add ssh npx -- -y @trustedskills/ssh
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"ssh": {
"command": "npx",
"args": [
"-y",
"@trustedskills/ssh"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The ssh skill enables AI agents to establish secure shell connections to remote servers, allowing them to execute commands and manage systems directly. It facilitates seamless interaction with cloud infrastructure and on-premise machines for deployment, monitoring, and maintenance tasks.
When to use it
- Deploying code updates or configuration changes to production environments without manual intervention.
- Running diagnostic scripts to troubleshoot server performance or network connectivity issues.
- Automating routine administrative tasks like log rotation, user management, or file synchronization across multiple hosts.
- Executing complex multi-step workflows that require direct terminal access on remote Linux systems.
Key capabilities
- Initiates secure SSH sessions to specified remote hosts using provided credentials.
- Executes arbitrary shell commands within the connected remote environment.
- Supports command chaining and output retrieval for immediate processing by the agent.
Example prompts
- "Connect to my staging server at
staging.example.comand restart the web service if it's not running." - "Run a disk usage analysis on
/var/logand send me a summary of the largest files found." - "Deploy the latest version of the application by pulling changes from git and restarting the container on the remote host."
Tips & gotchas
Ensure the AI agent has valid SSH keys or credentials configured in its environment before attempting connections, as authentication failures will block execution. Be cautious when granting agents permission to run arbitrary commands, especially those with elevated privileges like sudo, to prevent unintended system modifications.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.