SSH Key Manager Skill
Manage SSH keys.
Generate New Key
ssh-keygen -t ed25519 -C "{email}" -f ~/.ssh/{name}
List Keys
ls -la ~/.ssh/*.pub 2>/dev/null
Show Public Key
cat ~/.ssh/{name}.pub
Add to SSH Agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/{name}
SSH Config Entry
Host {alias}
HostName {hostname}
User {user}
IdentityFile ~/.ssh/{name}
Test Connection
ssh -T [email protected]
Notes
- Ed25519 is recommended over RSA
- Always use a passphrase for security
- File permissions: 600 for private keys, 644 for public