ssh-config-manager
CLI tool to manage SSH config files, organize hosts, generate configs, and test connections.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/derick001/ssh-config-managerSSH Config Manager
What This Does
A CLI tool to manage SSH configuration files (~/.ssh/config). It helps you organize SSH hosts, generate configurations, test connections, and keep your SSH config clean and maintainable.
Key features:
- Parse and display existing SSH configs in readable format
- Add/remove/edit hosts in your SSH config
- Organize hosts with tags, groups, or categories
- Test SSH connections to verify hosts work
- Generate configs from templates or JSON/YAML input
- Validate syntax to ensure config files are correct
- Backup and restore your SSH config before making changes
When To Use
- Your
~/.ssh/configfile has become messy with dozens of hosts - You need to quickly test if SSH connections work
- You want to share SSH configs with team members
- You frequently switch between different environments (work/home/cloud)
- You want to organize hosts by project, environment, or team
- You need to validate SSH config syntax before applying changes
Usage
Basic commands:
# List all hosts in your SSH config
python3 scripts/main.py list
# Add a new host
python3 scripts/main.py add --host myserver --hostname 192.168.1.100 --user admin
# Test SSH connection to a host
python3 scripts/main.py test --host myserver
# Organize hosts by tags
python3 scripts/main.py organize --tag work --hosts server1,server2,server3
# Generate SSH config from YAML template
python3 scripts/main.py generate --template servers.yaml --output ~/.ssh/config
# Validate SSH config syntax
python3 scripts/main.py validate --file ~/.ssh/config
Examples
Example 1: List and organize hosts
python3 scripts/main.py list --format table
Output:
┌─────────────────┬──────────────────────┬───────────┬───────────────┐
│ Host │ Hostname │ User │ Tags │
├─────────────────┼──────────────────────┼───────────┼───────────────┤
│ github │ github.com │ git │ git │
│ work-server │ 192.168.1.100 │ admin │ work,prod │
│ staging │ staging.example.com │ deploy │ work,staging │
│ personal-vps │ 45.33.22.11 │ root │ personal │
└─────────────────┴──────────────────────┴───────────┴───────────────┘
Example 2: Add a new host with advanced options
python3 scripts/main.py add \
--host new-server \
--hostname server.example.com \
--user ec2-user \
--port 2222 \
--identity ~/.ssh/id_rsa \
--tag "aws,production" \
--description "Production web server"
Example 3: Test multiple hosts
python3 scripts/main.py test --hosts work-server,staging,personal-vps
Output:
Testing SSH connections...
✅ work-server (192.168.1.100): Connected successfully
✅ staging (staging.example.com): Connected successfully
❌ personal-vps (45.33.22.11): Connection timeout
Example 4: Generate config from template
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-derick001-ssh-config-manager": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
multi-chat-context-manager
CLI tool to store and retrieve conversation contexts per channel/user.
docker-container-cleaner
CLI tool to clean up stopped Docker containers, unused images, volumes, and networks to free up disk space.
ssl-certificate-monitor
Monitor SSL certificates for expiration, security issues, and compliance across domains and subdomains.
secret-detection
Git hook to detect secrets before commit.
api-endpoint-tester
CLI tool to test REST API endpoints with various HTTP methods, headers, and payloads.