sickn33/agentic-awesome-skills/ssh-configuration
Claude Code and agent skill by sickn33/agentic-awesome-skills
- community
Checking that the SKILL.md file is still in the repository.
Configure SSH servers and clients securely. Manage keys, tunnels, and
Install
npx vskill@latest install sickn33/agentic-awesome-skills/ssh-configurationSKILL.md
SSH Configuration
Secure SSH server and client configuration for production environments, including key management, hardened sshd settings, bastion host architecture, tunneling, and multiplexing.
When to Use
- Setting up secure remote access to Linux or Unix servers
- Hardening SSH daemon configuration to meet compliance requirements
- Configuring bastion / jump hosts for private network access
- Creating SSH tunnels for secure port forwarding
- Managing SSH keys for teams or automated deployments
- Troubleshooting connection, authentication, or performance issues
Prerequisites
- OpenSSH client installed locally (
ssh -Vto verify) - OpenSSH server installed on target (
sshd) - Root or sudo access on the server for sshd_config changes
- Firewall rules allowing TCP port 22 (or custom SSH port)
Access preservation
Inspect existing config/includes and protect private keys; do not overwrite an existing identity. Before disabling password/root access verify the intended account, authorized key and recovery console, then validate effective Match configuration and test a second session. Adapt subsystem paths/algorithms to the installed OpenSSH version; changing crypto lists is not a compliance guarantee. Restrict tunnels to approved destinations and loopback listeners. Agent forwarding exposes signing capability on the intermediate host, not the private key bytes themselves. See sshd_config.
Key Generation and Management
SSH Client Configuration (~/.ssh/config)
Hardened Server Configuration (/etc/ssh/sshd_config)
Bastion Host Setup
SSH Tunneling
Agent Forwarding (Use with Caution)
SSH Key Restrictions in authorized_keys
Troubleshooting
| Symptom | Diagnostic Command | Common Fix | ||
|---|---|---|---|---|
| Connection refused | `ss -tlnp \ | grep 22` on server | Ensure sshd is running; check firewall rules | |
| Permission denied (publickey) | ssh -vvv user@server | Verify key is in authorized_keys, permissions 600/700 | ||
| Host key verification failed | Compare the new host-key fingerprint with a trusted independent channel | Remove an old entry only after identity verification; never bypass checking to make login work | ||
| Connection timeout | ssh -o ConnectTimeout=5 user@server | Check network path, security groups, NACLs | ||
| Slow SSH login | Check UseDNS in sshd_config | Set UseDNS no; check reverse DNS | ||
| Broken pipe / dropped sessions | Add ServerAliveInterval 60 to config | Configure keepalive on both client and server | ||
| Agent forwarding not working | ssh-add -l on bastion | Ensure -A flag used and agent has keys loaded | ||
| Tunnel port already in use | `ss -tlnp \ | grep <port>` | Kill existing tunnel or use a different local port |
Related Skills
linux-administration-- General Linux system administrationuser-management-- Managing the users who connect via SSHsystemd-services-- Managing sshd as a systemd serviceperformance-tuning-- Network tuning for SSH performance
Limitations
- Infrastructure commands can disrupt services: confirm target host/scope and have backups/snapshots before mutating state.
- Docs-only import: upstream scripts and templates not bundled.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ssh-configuration/SKILL.md
Popularity
- Repository stars
- 47,054
- Repository forks
- 6,853
- 7-day trend score
- 54
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/agentic-awesome-skills/ssh-configuration)