SSH Config Generator

Generate your ~/.ssh/config file. Add multiple hosts with aliases, jump hosts, port forwarding, and cloud provider templates.

Last reviewed: April 2026

New to this tool? Click here for instructions

Hosts
Global Options (applies to all hosts)
~/.ssh/config
Add hosts above to generate your SSH config.

How to Use the SSH Config Generator

The SSH Config Generator is a free online tool that helps you create and manage your ~/.ssh/config file. This file is essential for simplifying SSH connections to multiple servers. To use the generator, follow these steps:

1. Add Hosts: Click "+ Add Host" or choose a cloud template to start. Fill in the details such as alias, hostname or IP, user, port, and identity file. Click "+ Add Host" to add a new host. Choose a cloud template for quick setup. Fill in the details for each host.

  • Click "+ Add Host" to add a new host.
  • Choose a cloud template for quick setup.
  • Fill in the details for each host.

When to Use the SSH Config Generator

Use the SSH Config Generator when you need to manage multiple SSH connections efficiently. It's particularly useful for developers working with cloud services like AWS, GCP, and Azure. The generator helps you set up jump hosts, port forwarding, and other advanced SSH configurations.

How It Works

The SSH Config Generator works by allowing you to define connection parameters for multiple SSH hosts in a single file. This file is then used by the SSH client to connect to the specified hosts with just a single command. The generator provides a user-friendly interface to create and manage these parameters, including aliases, usernames, ports, identity files, and proxy settings.

Tips, Edge Cases, or Limitations

1. Permissions: Ensure that your ~/.ssh/config file has the correct permissions (600) to prevent unauthorized access.

2. Advanced Options: Use the advanced section to configure ProxyJump, port forwarding, and keepalive settings.

3. Cloud Templates: The generator includes templates for popular cloud providers like AWS, GCP, and Azure to simplify setup.

Frequently Asked Questions

The ~/.ssh/config file defines connection parameters for multiple SSH hosts, including aliases, usernames, ports, identity files, and proxy settings.
ProxyJump is a feature in OpenSSH that allows you to connect to a private server through a jump host (bastion host) without manual steps.
LocalForward forwards a local port to a remote server, while RemoteForward forwards a remote port to a local server.
ServerAliveInterval is a setting in the SSH config file that specifies how often the client should send a keepalive message to the server to prevent the connection from timing out.
No, your SSH config is stored locally on your machine. The generator helps you create and manage this file, but it does not send it to any server.

Quick reference

SSH Config Generator Quick Reference
Host Parameter Value Description
example-server HostName ssh.example.com Specifies the remote server's domain or IP address
example-server User user Defines the username for authentication
example-server Port 22 Custom port number if SSH service is not on default port
example-server IdentityFile /home/user/.ssh/id_rsa Path to private key file for authentication
internal-db HostName db.internal Internal network hostname for database server
internal-db Compression yes Enables SSH data compression for faster transfers