# infra-ops > VPS setup, SSH configuration, Docker deployment, Coolify, and security hardening. Complete infrastructure operations toolkit. Use when: deploying applications, setting up servers, configuring security, managing containers. - Author: abdullah1854 - Repository: abdullah1854/ClaudeSuperSkills - Version: 20251226002737 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/abdullah1854/ClaudeSuperSkills - Web: https://mule.run/skillshub/@@abdullah1854/ClaudeSuperSkills~infra-ops:20251226002737 --- # infra-ops VPS setup, SSH configuration, Docker deployment, Coolify, and security hardening. Complete infrastructure operations toolkit. Use when: deploying applications, setting up servers, configuring security, managing containers. ## Metadata - **Version**: 1.0.0 - **Category**: devops - **Source**: workspace ## Tags `infrastructure`, `vps`, `docker`, `ssh`, `security`, `deployment`, `coolify` ## MCP Dependencies None specified ## Inputs - `operation` (string) (required): Operation: setup, deploy, secure, docker, ssh, coolify - `target` (string) (optional): Target server/service - `config` (object) (optional): Configuration options ## Chain of Thought 1. Identify operation type. 2. Check prerequisites (SSH access, Docker installed). 3. Prepare configuration. 4. Execute with proper error handling. 5. Verify deployment. 6. Document changes. ## Workflow No workflow defined ## Anti-Hallucination Rules None specified ## Verification Checklist None specified ## Usage ```typescript // Execute via MCP Gateway: gateway_execute_skill({ name: "infra-ops", inputs: { ... } }) // Or via REST API: // POST /api/code/skills/infra-ops/execute // Body: { "inputs": { ... } } ``` ## Code ```typescript // Infra-Ops Skill const operation = inputs.operation || 'setup'; const operations = { setup: `## VPS Initial Setup ### 1. Security Basics \`\`\`bash # Update system apt update && apt upgrade -y # Create non-root user adduser deploy usermod -aG sudo deploy # Setup SSH key auth mkdir -p /home/deploy/.ssh chmod 700 /home/deploy/.ssh # Add your public key to authorized_keys # Disable password auth sed -i 's/PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config systemctl restart sshd \`\`\` ### 2. Firewall \`\`\`bash ufw allow OpenSSH ufw allow 80/tcp ufw allow 443/tcp ufw enable \`\`\` ### 3. Fail2ban \`\`\`bash apt install fail2ban -y systemctl enable fail2ban \`\`\``, docker: `## Docker Setup \`\`\`bash # Install Docker curl -fsSL https://get.docker.com | sh usermod -aG docker deploy # Install Docker Compose apt install docker-compose-plugin -y # Verify docker --version docker compose version \`\`\` ### Docker Compose Template \`\`\`yaml version: '3.8' services: app: build: . ports: - "3000:3000" environment: - NODE_ENV=production restart: unless-stopped \`\`\``, coolify: `## Coolify Self-Hosted PaaS ### Installation \`\`\`bash curl -fsSL https://cdn.coollabs.io/coolify/install.sh | bash \`\`\` ### Features - One-click deployments - Automatic SSL via Let's Encrypt - Database provisioning - Monitoring & logs - GitHub/GitLab integration ### Post-Install 1. Access at https://your-server:8000 2. Create admin account 3. Add your Git source 4. Deploy applications`, secure: `## Security Hardening Checklist ### SSH Hardening \`\`\`bash # /etc/ssh/sshd_config PermitRootLogin no PasswordAuthentication no MaxAuthTries 3 ClientAliveInterval 300 \`\`\` ### Auto Updates \`\`\`bash apt install unattended-upgrades -y dpkg-reconfigure -plow unattended-upgrades \`\`\` ### Monitoring \`\`\`bash # Install monitoring apt install htop iotop nethogs -y \`\`\`` }; console.log(operations[operation] || operations.setup); ``` --- Created: Tue Dec 23 2025 00:31:31 GMT+0800 (Singapore Standard Time) Updated: Tue Dec 23 2025 00:31:31 GMT+0800 (Singapore Standard Time)