ssh prod

SSH Client Config Builder

Fill in aliases and endpoints to generate ~/.ssh/config snippets you can paste into your workstation or bastion setups.

Each becomes a LocalForward line in ~/.ssh/config
One directive per line; same colon format.

Save to ~/.ssh/config on your machine. Prefer chmod 600 on that file.

~/.ssh basics

The Host alias is what you pass to ssh, for example: ssh prod. HostName holds the DNS name or IP ssh actually resolves.

Linux OpenSSH client config helpers

This ssh config snippet builder helps assemble standard OpenSSH ~/.ssh/config stanzas for multi-hop bastions, key selection, SOCKS-style forwards, and keepalive timeouts on Linux desktops and VPS shells.

~/.ssh/config FAQ

Does the Host keyword have to match a DNS name?

No. Host can be any short alias such as prod or lab. Optionally set HostName to the real hostname or IPv4/v6 literal you want ssh to dial.

What is ProxyJump used for?

ProxyJump routes SSH through another host (often a bastion). It is simpler than configuring an independent ProxyCommand for straightforward jump setups.

When should IdentityFile appear?

Set IdentityFile when you want this Host block to pin a dedicated key separate from ssh-add defaults.

What permissions belong on ~/.ssh/config?

~/.ssh directories should normally be chmod 700, private keys chmod 600, and ~/.ssh/config chmod 600 for OpenSSH.