SSH Config Generator
Create a tidy ~/.ssh/config Host block.
~/.ssh/config block
Host myserver
HostName 203.0.113.10
User deploy
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
Connect with
ssh myserver
Free online SSH config generator. Enter a host alias, hostname, user, port and identity file to produce a clean ~/.ssh/config Host block so you can connect with a short alias. Generated in your browser.
How to use the SSH Config Generator
- 01Enter a memorable Host alias plus the HostName (IP or domain).
- 02Add the user, port and IdentityFile as needed.
- 03Copy the block into ~/.ssh/config and connect with ssh <alias>.
Frequently asked questions
What does a Host alias give me?
Once a Host block is in ~/.ssh/config, you can run ssh myserver instead of typing the full user, address, port and key every time.
What is IdentitiesOnly for?
It tells SSH to use only the key you specified rather than offering every key in your agent, which avoids failed attempts and 'too many authentication failures' errors.