SSH Config Generator
Generate ~/.ssh/config entries visually. Build SSH config files with host aliases, jump hosts, and identity files.
Client-side only — nothing leaves your browser
Advanced options
Save this to ~/.ssh/config
What is SSH Config?
The SSH config file (~/.ssh/config) lets you define shortcuts and default settings for SSH connections. Instead of typing long commands like ssh -i ~/.ssh/id_work -p 2222 [email protected], you can define a host alias and simply run ssh staging. The config file supports host-specific settings for identity files, jump hosts, port forwarding, and dozens of other options.
SSH Config Options Reference
| Option | Description | Example |
|---|---|---|
| Host | Alias for the connection | myserver |
| HostName | Actual hostname or IP address | 192.168.1.100 |
| User | Username for authentication | deploy |
| Port | SSH port number (default 22) | 2222 |
| IdentityFile | Path to the private key file | ~/.ssh/id_ed25519 |
| ProxyJump | Jump through a bastion host | bastion |
| ForwardAgent | Forward SSH agent to remote host | yes |
| ServerAliveInterval | Keepalive interval in seconds | 60 |
Frequently Asked Questions
What is the difference between Host and HostName in SSH config?
Where is the SSH config file located?
How do I use a jump host in SSH config?
What permissions should the SSH config file have?
Can I use multiple SSH keys for different hosts?
Related Tools
Key Generator
Generate RSA, Ed25519, and ECDSA SSH keys securely in your browser.
Port Checker
Test if SSH port 22 is open on any server. Diagnose firewall and connection issues.
Key Validator
Validate SSH public and private keys. Check key type, format, fingerprint, and comment.
PEM to PPK Converter
Convert PEM SSH keys to PPK format for PuTTY. Validate keys and get step-by-step conversion instructions.
SSL Checker
Check SSL/TLS certificate validity, expiry, chain, and issuer for any domain. Color-coded expiry warnings.
Need to manage SSH connections?
SSH Workbench lets you connect, browse files, and manage servers visually.
Try SSH Workbench Free