SSH Config Generator
Build your ~/.ssh/config file visually. Add multiple hosts with all options.
1Host: webserver
ssh webserverGenerated ~/.ssh/config
Updates in real-time as you type. Copy or download when ready.
Host webserver HostName 192.168.1.10 User ubuntu
How to use:
- Download the file as
config(no extension). - Move it to
~/.ssh/config. - Set correct permissions:
chmod 600 ~/.ssh/config - Connect with just
ssh <alias>.
Frequently Asked Questions
- Where do I put the SSH config file?
- Save it as ~/.ssh/config (no file extension). On Linux/Mac: /home/username/.ssh/config. Set permissions with chmod 600 ~/.ssh/config.
- What is a Host alias?
- The Host value is a shortcut name you type instead of the full hostname. With 'Host myserver', you just type 'ssh myserver' instead of 'ssh user@192.168.1.10'.
- What is ProxyJump?
- ProxyJump lets you connect through a bastion/jump host to reach a server that isn't directly accessible. Set it to the alias of your bastion host.
- What does ForwardAgent do?
- ForwardAgent yes forwards your local SSH keys to the remote server, allowing you to use your local keys for further SSH connections from that server.
- What is ServerAliveInterval?
- ServerAliveInterval sends a keepalive packet every N seconds to prevent the connection from timing out during inactivity. 60 seconds is a common setting.