home / skills / jeremylongshore / claude-code-plugins-plus-skills / ssh-key-manager

This skill helps automate ssh key manager tasks with step-by-step guidance, producing production-ready configurations and validating results.

npx playbooks add skill jeremylongshore/claude-code-plugins-plus-skills --skill ssh-key-manager

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
2.1 KB
---
name: "ssh-key-manager"
description: |
  Manage ssh key manager operations. Auto-activating skill for DevOps Basics.
  Triggers on: ssh key manager, ssh key manager
  Part of the DevOps Basics skill category. Use when working with ssh key manager functionality. Trigger with phrases like "ssh key manager", "ssh manager", "ssh".
allowed-tools: "Read, Write, Edit, Bash(cmd:*), Grep"
version: 1.0.0
license: MIT
author: "Jeremy Longshore <[email protected]>"
---

# Ssh Key Manager

## Overview

This skill provides automated assistance for ssh key manager tasks within the DevOps Basics domain.

## When to Use

This skill activates automatically when you:
- Mention "ssh key manager" in your request
- Ask about ssh key manager patterns or best practices
- Need help with foundational devops skills covering version control, containerization, basic ci/cd, and infrastructure fundamentals.

## Instructions

1. Provides step-by-step guidance for ssh key manager
2. Follows industry best practices and patterns
3. Generates production-ready code and configurations
4. Validates outputs against common standards

## Examples

**Example: Basic Usage**
Request: "Help me with ssh key manager"
Result: Provides step-by-step guidance and generates appropriate configurations


## Prerequisites

- Relevant development environment configured
- Access to necessary tools and services
- Basic understanding of devops basics concepts


## Output

- Generated configurations and code
- Best practice recommendations
- Validation results


## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| Configuration invalid | Missing required fields | Check documentation for required parameters |
| Tool not found | Dependency not installed | Install required tools per prerequisites |
| Permission denied | Insufficient access | Verify credentials and permissions |


## Resources

- Official documentation for related tools
- Best practices guides
- Community examples and tutorials

## Related Skills

Part of the **DevOps Basics** skill category.
Tags: devops, git, docker, ci-cd, infrastructure

Overview

This skill automates common SSH key management tasks for DevOps Basics workflows. It helps generate, rotate, validate, and deploy SSH keys while following industry best practices. Use it to reduce manual errors, enforce consistent policies, and speed up onboarding and access management.

How this skill works

The skill inspects requests that mention SSH key manager functionality and offers step-by-step guidance, templates, and validation checks. It can generate key pairs, create secure config snippets, recommend rotation schedules, and validate permissions and formats against common standards. Outputs include production-ready configuration snippets and actionable remediation steps.

When to use it

  • When you need to generate or rotate SSH key pairs for servers or CI agents
  • When onboarding or revoking developer access to infrastructure
  • When validating SSH key formats, permissions, or agent configuration
  • When creating or auditing SSH config and authorized_keys deployments
  • When automating deployment of keys in configuration management or CI/CD pipelines

Best practices

  • Generate keys with modern algorithms (e.g., ed25519) and enforce passphrases where appropriate
  • Limit key scope: use separate keys per role, service, or automation agent
  • Store private keys in secure secrets managers and avoid embedding them in code or public repos
  • Automate rotation and audit of authorized_keys; record key ownership and purpose
  • Use SSH config to centralize host/user settings and enforce strict file permissions (600 for private keys)

Example use cases

  • Create an ed25519 key pair and a secure SSH config snippet for a new developer
  • Rotate a CI agent's SSH key and update deployment pipelines with minimal downtime
  • Validate an existing authorized_keys file for improper entries and permission issues
  • Generate automated scripts to distribute public keys to multiple hosts via configuration management
  • Provide remediation steps when SSH authentication fails due to key format or permission errors

FAQ

Can this skill generate keys with a passphrase?

Yes. It can recommend passphrase usage and generate instructions or commands to create passphrase-protected keys.

Will it deploy keys directly to servers?

It provides deployment templates and automation snippets for common tools (Ansible, SSH-copy-id, CI runners) but does not perform remote actions itself; integrate the generated artifacts into your automation pipeline.