ssh-keygen
Installation
SKILL.md
ssh-keygen
Generate, validate, and fingerprint SSH keypairs with secure file permissions.
Prerequisite Check
Run this before proposing key generation or conversion:
command -v ssh-keygen >/dev/null 2>&1 || ssh-keygen -V
If ssh-keygen is missing, surface that first and point to scripts/install.sh or scripts/install.ps1. Do not suggest manual key-file fabrication as a fallback.
Quick Start
- Verify
ssh-keygenis available:ssh-keygen -horman ssh-keygen - Establish the command surface:
man ssh-keygenorssh-keygen -h - Start with key generation:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519