Works with the AI Agents you already use
SSH Server Config Security Audit
by CashonlyTian
- **Access Control Review** verifies `PermitRootLogin` status, password authentication settings, and the presence of user allowlists.
$7
SSH Server Config Security Audit
Example session with this skill installed
Audit the sshd configuration in reference/staging-server with the project name 'Staging-Auth-01' and brand 'SecOps Team'.
- Read your context and instructions
- Compiled the ssh server config
- Generated the document
The audit of
Staging-Auth-01 is complete. The configuration identified several high-risk vulnerabilities related to root access and legacy cryptography.
Score: 45/100 | Grade: D | Risk: HIGH
Findings: 12 (2 critical, 4 high, 6 medium)
Audit Report Summary
| Category | Score | Status |
|---|---|---|
| Root & Password Auth | 0/15 | CRITICAL |
| Crypto Strength | 4/10 | WARNING |
| Authorized Keys | 15/15 | PASS |
| Brute Force Limits | 5/10 | WARNING |
| Forwarding/Tunneling | 10/10 | PASS |
Top 3 Required Fixes
Disable Root Password Login: Set PermitRootLogin no and PasswordAuthentication no. Current config allows remote root access via password.
2. Deprecate Weak Ciphers: Remove aes128-cbc and 3des-cbc from the Ciphers list.
3. Tighten Brute Force Limits: Lower MaxAuthTries to 3 (currently 10) to mitigate automated guessing.
Files Generated:
scan-2025-05-20.png(Visual Scorecard)scan-report.md(Detailed Findings & Line Numbers)
Next steps
- Apply the top 3 fixes to
reference/staging-server/sshd_config. - Review the
Matchblock findings in the full report to ensure no overrides exist. - Re-run the audit to confirm the score improves above 80 before deployment.
scan-2025-05-20.png
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Misconfigured SSH servers are a primary vector for brute-force attacks and lateral movement. This skill audits sshd_config and authorized_keys files to identify security gaps before you expose a server to the public internet.
What it does
- Security Scoring delivers a 0-100 score, letter grade, and risk assessment based on 10 specific security categories.
- Credential Masking ensures secret values and key blobs are replaced with
***or[key]in all reports and previews. - Cryptographic Audit checks for weak ciphers, MACs, and key exchange algorithms like 3DES, MD5, or SHA-1.
- Access Control Review verifies
PermitRootLoginstatus, password authentication settings, and the presence of user allowlists. - Key Hygiene scans
authorized_keysfor DSA keys, short RSA keys, and unsafe file permissions. - Visual Reporting generates a shareable PNG score-card for stakeholders alongside a detailed Markdown fix report.
How it works
- Target Configs Point the agent to a local directory containing your
sshd_configand.sshfolders. - Local Scan Run the audit script to process the configuration files locally without network access or API calls.
- Analyze Output Review the generated
scan-report.mdfor prioritized fixes and thescan-date.pngfor a visual summary. - Iterate Apply the recommended fixes to your configuration and re-run the scan to verify the updated security score.
Frameworks & tools
The skill utilizes a Python-based scanner to parse OpenSSH configuration files. It operates entirely on local file paths to ensure no sensitive configuration data leaves your environment.
Why this beats prompting it yourself
Generic prompts often miss subtle Match block overrides that quietly re-enable insecure settings. This skill applies a rigid 10-point scoring rubric that quantifies risk, providing a repeatable benchmark for server hardening.
Use cases
- Auditing an SSH configuration generated by another AI agent before deployment.
- Performing due diligence on third-party servers during onboarding.
- Generating security compliance artifacts for client reports or internal audits.
- Hardening new cloud instances before opening port 22 to the internet.
Known limitations
Does not connect to live servers to verify running state. Include directives are not resolved automatically; files must be in the target folder. Files over 2MB are skipped.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.
Audits files only, not live server state. Does not resolve Include directives. Requires local config files. Secrets are masked.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Software
Python 3Pillow