SkillHub

sshkey

v3.0.1

Generate, list, copy, and test SSH keys without complex flags. Use when scanning keys, monitoring expiry, reporting fingerprints, alerting weak algorithms.

Sourced from ClawHub, Authored by BytesAgain2

Installation

Please help me install the skill `sshkey` from SkillHub official store. npx skills add ckchzh/sshkey

sshkey

SSH key manager.

Commands

generate

Generate new SSH key (ed25519/rsa/ecdsa)

scripts/script.sh generate [type] [bits]

list

List all SSH keys

scripts/script.sh list

fingerprint

Show key fingerprint (MD5 + SHA256)

scripts/script.sh fingerprint <keyfile>

info

Detailed key information

scripts/script.sh info <keyfile>

copy

Copy public key to remote host

scripts/script.sh copy <user@host> [keyfile]

test

Test SSH connection

scripts/script.sh test <user@host>

authorized-list

List authorized keys

scripts/script.sh authorized-list

authorized-add

Add key to authorized_keys

scripts/script.sh authorized-add <pubkey>

audit

Security audit of SSH keys and permissions

scripts/script.sh audit

Requirements

  • ssh-keygen

Powered by BytesAgain | bytesagain.com | [email protected]