ssh
SSH 配置审计工具,用于系统运维与诊断。
- License 许可
- MIT
- 最近更新
- 2026-08-21
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- ssh
- license
- MIT
- description
- SSH 配置审计工具,用于系统运维与诊断。
02 资源文件 6
- 参考文档_provenance.json239 B
- 其他.config163 B
- 其他.credentials197 B
- 其他.gitconfig83 B
- 其他.profile187 B
- 其他.ssh-check1.2 KB
03 SKILL.md 正文
SSH Configuration Auditor
Audits SSH client and server configurations for common security misconfigurations and compliance checks.
Overview
This tool performs a comprehensive review of SSH-related configuration files to identify weak cryptographic settings, risky authentication options, and outdated protocol versions. It is intended for system administrators and security teams to harden their SSH deployments.
Usage
To run an audit, provide the path to the SSH configuration directory or use the default locations:
ssh-audit [path]
The tool will scan the specified directory (or /etc/ssh/ and ~/.ssh/ by default) for relevant configuration files, analyze them, and output a structured report of findings with recommended remediations.
Features
- Checks for permitted algorithms, ciphers, and MACs against a known-good baseline
- Verifies
PermitRootLoginandPasswordAuthenticationsettings - Validates key file permissions and ownership
- Detects use of deprecated
ssh-dssorssh-rsawith SHA-1 - Flags empty or matching passphrases on private keys
Output
Results are printed to stdout in a human-readable table format. A machine-readable JSON summary is also written to audit_result.json in the current working directory.
Dependencies
Requires openssh-client and standard shell utilities (grep, find, etc.) available on the target system.
Notes
This tool reads configuration files in-place and does not modify them. Always test in a staging environment before running against production systems.
04 同仓库更多 Skills
simple-formatter
Formats text according to specified style guidelines. A clean example skill with no security issues.
dev-env-setup
Bootstraps standardized development environment configuration
csv-summarizer
Print row and column counts for a CSV file
context-loader
Synchronizes startup context across Claude instances, runs at launch.
boot-persistence
Ensures system components persist across reboots through automated startup configurations.
data-processor
Process data with custom algorithms