Agent skill
ssh-configuration
Configure SSH servers and clients securely. Manage keys, tunnels, and config files. Use when setting up secure remote access.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ssh-configuration
Metadata
Additional technical details for this skill
- author
- devops-skills
- version
- 1.0
SKILL.md
SSH Configuration
Secure SSH server and client configuration.
Key Management
# Generate key
ssh-keygen -t ed25519 -C "[email protected]"
# Copy to server
ssh-copy-id user@server
# Add to agent
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
SSH Config (~/.ssh/config)
Host production
HostName prod.example.com
User deploy
IdentityFile ~/.ssh/prod_key
Port 22
Host bastion
HostName bastion.example.com
User admin
Host internal
HostName 10.0.0.5
User admin
ProxyJump bastion
Secure Server Config
# /etc/ssh/sshd_config
PermitRootLogin no
PasswordAuthentication no
PubkeyAuthentication yes
MaxAuthTries 3
AllowUsers deploy admin
Tunneling
# Local port forward
ssh -L 8080:internal:80 bastion
# Remote port forward
ssh -R 8080:localhost:80 server
# SOCKS proxy
ssh -D 1080 server
Best Practices
- Use ed25519 keys
- Disable password auth
- Use SSH agent forwarding carefully
- Implement jump hosts/bastions
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?