SSH Config Generator

Build your ~/.ssh/config file visually. Add multiple hosts with aliases, identity files, proxy jumps, and connection options. 100% client-side.

Add Host Entry

About SSH Config Files

The SSH config file (~/.ssh/config) lets you define per-host connection settings, saving you from typing long SSH commands. Instead of ssh -i ~/.ssh/key.pem -p 2222 user@192.168.1.100, just type ssh prod-server.

Common Options

  • Host — alias used in ssh <alias>
  • HostName — actual IP address or domain
  • User — SSH username
  • Port — SSH port (default: 22)
  • IdentityFile — path to the private key
  • ProxyJump — bastion/jump host for tunneling
  • ForwardAgent — forward SSH agent to remote host
  • ServerAliveInterval — keepalive interval to prevent timeouts

Usage

Copy the generated config and save it to ~/.ssh/config. Set permissions with chmod 600 ~/.ssh/config.

Related Tools