SSH Config Generator

Write your ~/.ssh/config without looking up the syntax. Add each server with a short alias, its address, user, port and key, route private servers through a bastion with ProxyJump, set up port forwards, and turn on keep-alives or connection reuse for every host. Then connect with just ssh web. It's free, runs in your browser, and nothing is sent anywhere.

Common options

OptionDoes
HostNameReal address to connect to
UserLogin name
IdentityFilePrivate key to use
ProxyJumpConnect through another host
LocalForwardForward a local port to the remote side
ServerAliveIntervalSend keep-alives to stop idle disconnects

When to use it

  1. Replace long ssh -i key -p 2222 user@host commands with short aliases.
  2. Reach private servers through a bastion host.
  3. Forward a remote database port to your machine.
  4. Stop SSH sessions dropping when idle.

How to Use

  1. Add a block for each server with its alias, address, user and key.
  2. Set ProxyJump or port forwards where needed.
  3. Choose the defaults for every host.
  4. Save the result as ~/.ssh/config and chmod 600 it.

Features

  1. Multiple hosts
  2. ProxyJump bastions
  3. LocalForward
  4. IdentitiesOnly
  5. Global keep-alive, agent and multiplexing defaults
  6. Duplicate and risk warnings
  7. 100% client-side

FAQs

Where does the SSH config file go?

~/.ssh/config on macOS and Linux, or C:\Users\you\.ssh\config on Windows. Set permissions with chmod 600 ~/.ssh/config.

ProxyJump or ForwardAgent?

ProxyJump. It tunnels through the bastion without exposing your keys on it; ForwardAgent lets root on that server use them.

Why put Host * at the end?

SSH uses the first value it finds for each option, so defaults must come after the specific hosts.

What does IdentitiesOnly do?

It makes SSH use only the key you name, instead of trying every key in your agent and hitting the server's attempt limit.

Is anything uploaded?

No. The file is generated in your browser.

Technical Details

OpenSSH reads ~/.ssh/config from top to bottom and, for each option, uses the first value it finds for a matching Host block. The generator follows that rule: specific hosts come first and a Host * block with defaults comes last, so the defaults never override a host's own settings. Each host only gets the options you actually set — a port of 22 is omitted because it's the default — so the file stays short and readable. ProxyJump connects through a bastion in a single hop, which is safer than ForwardAgent: with agent forwarding, anyone with root on the intermediate server can use your loaded keys while you're connected, and the tool says so when you enable it. IdentitiesOnly stops the client offering every key in the agent, which avoids 'too many authentication failures' on servers with a low attempt limit. LocalForward entries are written in OpenSSH's two-argument form. Global options add ServerAliveInterval keep-alives, AddKeysToAgent and connection multiplexing with ControlMaster. Duplicate aliases, invalid ports and unnamed hosts are flagged.

Developer Tools

Developer Tools

  • .dockerignore Generator
  • README Badge Generator
  • JSON to Zod
  • HTML Table Generator
  • Regex Cheatsheet
  • JSON to GraphQL
  • Regex Escape & Extract
  • AI Prompt Generator