Save to ~/.ssh/config on your machine. Prefer chmod 600 on that file.
Fill in aliases and endpoints to generate ~/.ssh/config snippets you can paste into your workstation or bastion setups.
Save to ~/.ssh/config on your machine. Prefer chmod 600 on that file.
The Host alias is what you pass to ssh, for example: ssh prod. HostName holds the DNS name or IP ssh actually resolves.
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.
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.
ProxyJump routes SSH through another host (often a bastion). It is simpler than configuring an independent ProxyCommand for straightforward jump setups.
Set IdentityFile when you want this Host block to pin a dedicated key separate from ssh-add defaults.
~/.ssh directories should normally be chmod 700, private keys chmod 600, and ~/.ssh/config chmod 600 for OpenSSH.