/security:ssh-hardeningfrom security
Audits and hardens OpenSSH on Ubuntu/Debian with verified key access. Guides through establishing administrative access, configuring key-only policy, and verifying changes.
Ships in security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Establish working administrative access before restricting authentication. Keep the current session and provider console available until a fresh post-change login succeeds.
Identify the active daemon/service/socket, actual listener ports, administrative and automation identities, Include order, and relevant Match rules. Record sshd -T -C results for the actual users, client addresses, and hostnames.
Use an existing non-root administrator. If account creation is needed, create it separately with the distribution's user/group conventions, install its public key, then prove key login and sudo in a separate session before any lockdown.
Generate personal keys on the local client with a passphrase or hardware-backed key. scripts/generate-ssh-keys.sh provides preview/no-overwrite behavior; its --interactive mode is for a human terminal and --no-passphrase is an explicit service-key choice.
Test the specific key without password fallback:
ssh -o IdentitiesOnly=yes -o PreferredAuthentications=publickey -i ~/.ssh/server_admin [email protected]
In that new session, verify the required sudo operation. Password fallback or an already-open session is not proof of usable key access.
Read references/sshd-config.md before editing includes, conditional access or activation.
The setup helper supports a conventional key-only policy. It requires an existing non-root administrator; it does not create accounts, replace AllowUsers/AllowGroups, change ports, or remove forwarding functionality. Existing multiple-factor authentication requires a reviewed manual policy instead of this helper.
sudo bash scripts/setup-ssh-hardening.sh --user administrator --client-address 203.0.113.10 --dry-run
After proven key/sudo access and authorization to configure/activate:
sudo bash scripts/setup-ssh-hardening.sh --user administrator --client-address 203.0.113.10 --key-access-confirmed --apply --activate
Repeat --user for administrators that must be verified. Set --client-host when hostname-based Match rules apply. The helper validates the supplied client context; inspect other relevant networks/hostnames as well. It writes a managed early drop-in and refuses success if earlier values or conditional rules override the requested policy. An early filename alone is not proof of precedence.
sudo sshd -t. Effective file policy: sudo sshd -T -C user=administrator,host=client.example.com,addr=203.0.113.10.Report file validation separately from activation and live access tests. Do not describe ClientAliveInterval as a user-idle timeout or hard-code obsolete protocol/crypto settings.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ssh, openssh, server-security, key-authentication, ubuntu, debian
npx claudepluginhub errorproofdev/skills --plugin security17 skills in this plugin
/aws-penetration-testingProvide comprehensive techniques for penetration testing AWS cloud environments. Covers IAM enumeration, privilege escalation, SSRF to metadata endpoint, S3 bucket exploitation, Lambda code extraction, and persistence techniques for red team operations./burpsuite-project-parserSearches and explores Burp Suite project files (.burp) from the command line. Use when searching response headers or bodies with regex patterns, extracting security audit findings, dumping proxy history or site map data, or analyzing HTTP traffic captured in a Burp project./burp-suite-testingExecute comprehensive web application security testing using Burp Suite's integrated toolset, including HTTP traffic interception and modification, request analysis and replay, automated vulnerability scanning, and manual testing workflows.Other plugins' skills for the same job
2 plugins ship this exact skill · first indexed Oct 14, 2026