Tools · runs in your browser
SSH Config Generator
Add your servers below. The config file updates as you type. Nothing leaves your browser.
~/.ssh/config
How to connect
How to use the result
- Copy the text, or download the file.
- Open
~/.ssh/configin a text editor. If the file does not exist, create it. - Paste the text at the end of the file and save.
- Run
chmod 600 ~/.ssh/config. - Connect with
sshand the short name.
What the options mean
- Short name is what you type after
ssh. A pattern such as10.0.*applies the settings to every matching address. - Jump through connects to a server you cannot reach directly, by going through one you can. Use the short name of another server on this page.
- Local port forward makes a port on the server show up on your own machine.
8080 localhost:80lets you openlocalhost:8080and see port 80 of the server. - Use only this key stops SSH from trying every key you have. It helps when a server rejects you for too many attempts.
- Keep the connection alive sends a small signal every 60 seconds so idle sessions do not drop.
- Forward SSH agent lets the server use your local keys for onward connections. Turn it on only for servers you trust.