协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
ssh-keygen-helper【开发与工程】Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: ssh-keygen-helper description: | Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket.
A developer-friendly tool for SSH key management and configuration.
ssh-keygen-helper/
├── SKILL.md
└── scripts/
└── ssh_manager.py # SSH management implementation
analyze_ssh_config()The main function for SSH configuration analysis. This function:
Example:
from scripts.ssh_manager import analyze_ssh_config
# Analyze SSH configuration
result = analyze_ssh_config()
# The function returns structured data like:
# {
# "keys": ["id_rsa", "id_ed25519"],
# "config": {...},
# "security_score": 85
# }
generate_key(key_type, comment)Helper function for generating new keys:
from scripts.ssh_manager import generate_key
success = generate_key(key_type="ed25519", comment="user@example.com")
check_authorized_keys()Helper function for checking authorized keys.
| Function | Description | Auto-handled |
|---|---|---|
analyze_ssh_config() | Reads SSH directory and config | ✅ Yes |
check_authorized_keys() | Returns authorized_keys content | ✅ Yes |
generate_key(type, comment) | Generates new SSH key | ✅ Yes |
You don't need to manually inspect SSH directories or parse config files - analyze_ssh_config() does all of this for you automatically.
# Import the main analysis function
from scripts.ssh_manager import analyze_ssh_config
# Analyze SSH configuration - this single function does everything
result = analyze_ssh_config()
# Check results
if result:
print("✅ SSH configuration analyzed:")
print(f" - Keys found: {len(result.get('keys', []))}")
print(f" - Security score: {result.get('security_score', 0)}")
else:
print("❌ Failed to analyze SSH configuration")
Trusted by 10,000+ developers worldwide - Just call analyze_ssh_config() and you're done!