ssh-config-manager

Manage SSH host configurations in ~/.ssh/config from the terminal. Use when adding, editing, or searching SSH hosts, cloning host configs, testing connections, or importing configs. Triggers include "ssh config", "ssh host", "sshm", "add ssh host", "edit ssh config", "test ssh connection".

7 stars

Best use case

ssh-config-manager is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Manage SSH host configurations in ~/.ssh/config from the terminal. Use when adding, editing, or searching SSH hosts, cloning host configs, testing connections, or importing configs. Triggers include "ssh config", "ssh host", "sshm", "add ssh host", "edit ssh config", "test ssh connection".

Teams using ssh-config-manager should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/ssh-config-manager/SKILL.md --create-dirs "https://raw.githubusercontent.com/heldernoid/agentic-build-templates/main/projects/cli-tools/ssh-config-manager/skills/ssh-config-manager/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/ssh-config-manager/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ssh-config-manager Compares

Feature / Agentssh-config-managerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Manage SSH host configurations in ~/.ssh/config from the terminal. Use when adding, editing, or searching SSH hosts, cloning host configs, testing connections, or importing configs. Triggers include "ssh config", "ssh host", "sshm", "add ssh host", "edit ssh config", "test ssh connection".

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# ssh-config-manager

CLI tool for managing `~/.ssh/config` with CRUD operations, search, and connection testing.

## Quick Start

```bash
# List all configured hosts
sshm list

# Show a host's details
sshm show web

# Add a new host
sshm add web --host example.com --user deploy

# Search hosts
sshm search deploy

# Test connectivity
sshm test web
```

## Add Hosts

```bash
sshm add web --host example.com --user deploy
sshm add web --host example.com --user deploy --port 22
sshm add bastion --host bastion.corp.com --user ec2-user --identity ~/.ssh/corp_key
```

## List and Show

```bash
sshm list                    # all hosts in table
sshm list --filter deploy    # filter by text
sshm show web                # all directives for host
sshm show web --raw          # show original raw config block
sshm show "*"                # show global Host * block
```

## Edit Hosts

```bash
sshm edit web --user deploy           # update user
sshm edit web --host new.example.com  # update hostname
sshm edit web --port 2222             # update port
sshm edit web --identity ~/.ssh/new   # update identity file
sshm edit web --set ForwardAgent yes  # add/update any directive
sshm edit web --unset ForwardAgent    # remove a directive
sshm edit "*" --set ServerAliveInterval 120  # edit global defaults
```

## Delete Hosts

```bash
sshm delete web           # with confirmation prompt
sshm delete web --yes     # skip confirmation
```

## Search

```bash
sshm search deploy        # search aliases, hostnames, users
sshm search 10.0.0        # search by IP prefix
sshm search bastion       # fuzzy match
```

## Test Connections

```bash
sshm test web             # test single host
sshm test --all           # test all hosts, show summary
```

## Clone and Import

```bash
sshm copy web web-staging              # clone with new alias
sshm import ~/work-ssh-config          # import from another file
```

## Backup and Restore

```bash
sshm backup               # manual backup to ~/.ssh/config.bak
sshm restore              # restore from backup (with confirmation)
sshm config               # show config path, host count, permissions
```

## CLI Reference

| Command | Description |
|---|---|
| `list` | List all hosts |
| `show <alias>` | Show host details |
| `add <alias>` | Add new host |
| `edit <alias>` | Edit host fields |
| `delete <alias>` | Delete host |
| `search <query>` | Fuzzy search |
| `test <alias>` | Test SSH connection |
| `copy <from> <to>` | Clone host config |
| `import <file>` | Import from config file |
| `backup` | Backup config now |
| `restore` | Restore from backup |
| `config` | Show config info |

## Environment Variables

| Variable | Default | Description |
|---|---|---|
| `SSHM_CONFIG_PATH` | `~/.ssh/config` | SSH config file path |
| `SSHM_BACKUP_DIR` | `~/.ssh/` | Backup directory |
| `SSHM_NO_COLOR` | `0` | Disable ANSI color (1 to disable) |
| `SSHM_DEBUG` | `0` | Enable debug logging (1 to enable) |

## Exit Codes

| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Host not found |
| 2 | Parse error in config file |
| 3 | Runtime error |

Related Skills

bookmark-manager

7
from heldernoid/agentic-build-templates

Save and organize URLs with tags, full-text search, and auto-generated screenshots. Use when you need to save a URL for later, organize links into collections, search saved bookmarks, or import browser bookmarks. Triggers include "save this link", "bookmark", "organize URLs", "find that article I saved", or any task involving managing a personal URL library.

Skill: clinic-queue-manager API

7
from heldernoid/agentic-build-templates

## When to use this skill

appointment-manager

7
from heldernoid/agentic-build-templates

Schedule and track healthcare appointments, manage provider contacts, build pre-appointment checklists, attach documents, receive reminders, and export appointment history. Use when a user needs to add, view, update, or export healthcare appointments.

Skill: pi-config

7
from heldernoid/agentic-build-templates

Patterns for Raspberry Pi boot partition configuration injection.

nginx-config-generator

7
from heldernoid/agentic-build-templates

Generate production-ready nginx configuration files for reverse proxy, SSL, rate limiting, and caching setups. Use when you need an nginx config for a web application, API, static site, or reverse proxy. Triggers include "nginx config", "nginx configuration", "nginx setup", "reverse proxy config", "SSL nginx", "nginx rate limiting", or any request involving nginx web server configuration.

dns-record-manager

7
from heldernoid/agentic-build-templates

Operate dns-record-manager -- manage DNS records across Cloudflare and Route 53, review change history, and configure providers.

dns-config

7
from heldernoid/agentic-build-templates

Manage the local-dns-override hosts.yaml configuration file. Use when you need to view the current DNS config, validate a hosts.yaml file before applying it, understand the config file format, or check which records are currently loaded. Triggers include "show DNS config", "validate hosts.yaml", "check loaded records", "DNS config file", "list local DNS entries", or any task involving viewing or validating the DNS record configuration.

env-manager

7
from heldernoid/agentic-build-templates

Manage encrypted .env file vaults across projects and environments using env-file-manager

validate-config

7
from heldernoid/agentic-build-templates

Validate a config file (JSON, YAML, TOML, or .env) against a JSON Schema using config-validator. Use when you need to check that a config file is valid before deploying, catch missing required fields or wrong types, or run validation in a CI pipeline. Triggers include "validate config", "check config file", "schema validation", "validate yaml", "validate json config", "config has errors", or any task involving checking whether a config file matches its expected schema.

Skill: farm-task-manager

7
from heldernoid/agentic-build-templates

## Purpose

Skill: Uptime Monitoring

7
from heldernoid/agentic-build-templates

## Overview

Skill: Status Page

7
from heldernoid/agentic-build-templates

## Overview