SSH ~/.ssh/config Generator (Visual)

A well-configured ~/.ssh/config turns long SSH invocations (ssh -p 2222 -i ~/.ssh/work-key [email protected]) into short aliases (ssh bastion). This generator lets you define each host visually — IP / hostname, port, user, identity file, jump host, agent forwarding — and outputs a clean config file you can paste into ~/.ssh/config.

Generated config

How to use the SSH ~/.ssh/config Generator (Visual)

Click + Add host for each remote server. Fill in the alias (the name you'll use after ssh), the actual hostname or IP, port, username, and identity file path. Optionally specify a ProxyJump (jump host) if you reach this server through a bastion.

Copy the output and append it to ~/.ssh/config (create the file if it doesn't exist; ensure chmod 600 ~/.ssh/config).

About SSH ~/.ssh/config Generator (Visual)

~/.ssh/config is OpenSSH's per-user configuration file. Each Host block defines defaults for an alias or pattern; ssh alias applies those defaults. Common directives:

  • HostName — the actual hostname or IP (you can use a short alias for Host and the real name here).
  • User — login user.
  • Port — port (default 22).
  • IdentityFile — path to private key.
  • IdentitiesOnly yes — only try this key, not every key in the agent.
  • ProxyJump — go through a bastion / jump host first (modern replacement for ProxyCommand).
  • ForwardAgent yes — forward SSH agent for chained SSH (security-sensitive).
  • ServerAliveInterval — keep connection alive past NAT timeouts.
  • StrictHostKeyChecking — yes / no / accept-new for host verification policy.

A common pattern is a wildcard Host * block at the end defining global defaults (compression, keepalive), with specific aliases above overriding.

Common use cases

  • New laptop setup — bulk-rebuild SSH config from your mental list.
  • Team onboarding — share a starter config for company servers.
  • Bastion / jump host topology — express multi-hop SSH cleanly.
  • Multi-key setup — separate identity files for personal / work / cloud accounts.