SSH Config Generator
Build ~/.ssh/config entries visually. Set host alias, hostname, user, port, identity file, ProxyJump for bastion hosts, and more. Templates for AWS EC2, GitHub, and jump hosts. Copy the output and save to ~/.ssh/config.
Frequently Asked Questions
What is the SSH config file?▼
The SSH config file (~/.ssh/config) lets you define named aliases for SSH connections. Instead of typing 'ssh -i ~/.ssh/key.pem [email protected]', you can define a Host alias and just type 'ssh my-ec2'. It supports all SSH options including port, user, identity file, proxy jump, and more.
How do I use the generated config?▼
Copy the output and paste it into ~/.ssh/config (create the file if it doesn't exist). Then set permissions with 'chmod 600 ~/.ssh/config'. After that, you can connect using just 'ssh <alias>' instead of the full command with flags.
What is ProxyJump used for?▼
ProxyJump lets you connect to a server that isn't directly accessible from the internet — you route the connection through a bastion or jump host. For example, if your internal server is only reachable from your bastion, set ProxyJump to the bastion host alias. SSH handles the tunneling automatically.
What is ForwardAgent?▼
ForwardAgent (yes/no) allows the SSH agent running on your local machine to be forwarded to the remote host. This means the remote host can use your local SSH keys to authenticate to other servers — useful for Git operations on remote servers without copying your private key there. Use with caution on untrusted hosts.
What is ServerAliveInterval?▼
ServerAliveInterval tells SSH to send a keepalive packet every N seconds when the connection is idle. This prevents the connection from being dropped by firewalls or NAT devices that close idle TCP sessions. A common value is 60 seconds.
Is it safe to store SSH config in a file?▼
Yes — the SSH config file contains connection parameters, not credentials. Your private key files (IdentityFile) are separate and protected by file permissions. The config file itself should be owned by your user and have permissions 600 or 644. Never store private keys or passphrases in the config file.
Related Products
on GumroadDeveloper Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →Premium Workflow Pack
Production-grade workflows, architecture guides, and deployment scripts for teams that ship. 10 advanced CI/CD workflows (blue-green, canary, E2E, security), 5 architecture deep-dives, code review checklist, PR process guide, and 5 battle-tested Bash deployment scripts.
Buy on Gumroad →GitHub Actions CI/CD Templates Pack
12 production-ready GitHub Actions workflow templates covering Node.js, Python, Docker, multi-environment deployments, security scanning, and auto-changelog. Copy, paste, ship.
Buy on Gumroad →You Might Also Need
HTTP Security Headers Generator
Generate HTTP security headers configuration for nginx and Apache. Configure HSTS, CSP, X-Frame-Options, Referrer-Policy, and more with toggle switches. Copy ready-to-use configs.
Open free tool →
API Mock Server Config Generator
Generate mock server configurations for JSON Server and MSW (Mock Service Worker) from endpoint definitions. Add endpoints, choose output format, and copy ready-to-use config.
Open free tool →
HTTP Security Headers Checker
Paste HTTP response headers and get a checklist of security headers present or missing. Checks CSP, HSTS, X-Frame-Options, and more.
Open free tool →
More Free Tools
Related Articles
SSH Key Generator Guide: Generate RSA and Ed25519 Keys for Secure Access
Learn how to generate SSH key pairs for GitHub, servers, and CI/CD pipelines. Comparison of RSA vs Ed25519, key sizes, passphrase best practices, and troubleshooting.
DevSecOps Tools Checklist 2026: 20 Essential Tools for Shift-Left Security
Complete DevSecOps tools checklist for 2026. 20 essential SAST, DAST, SCA, secrets scanning, and container security tools with free/open-source options.
Complete Guide to HTTP Security Headers: CSP, HSTS, and Modern Browser Security 2026
Master HTTP security headers in 2026: Content-Security-Policy configuration, HSTS preloading, Permissions-Policy, COEP/COOP for cross-origin isolation, and real-world configs for nginx, Apache, and Next.js.
Kubernetes Security Hardening: 15 Essential Practices
A comprehensive guide to Kubernetes security hardening—RBAC, Pod Security Standards, network policies, secrets management, and container scanning with real examples.
Terraform vs Pulumi 2026: Infrastructure as Code Comparison with Code Examples
Complete Terraform vs Pulumi comparison for 2026 — syntax, state management, multi-cloud support, testing, pricing, and when to choose each IaC tool.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →