Git SSH Config Generator
Easily create .ssh/config files to manage SSH keys and authentication for Git repositories
What is SSH Config?
SSH config files allow you to define settings for connecting to remote servers via SSH, including aliases, keys, and options. For Git, it helps you manage multiple accounts or keys easily.
SSH Config Generator
Create a secure .ssh/config file to manage SSH keys and authentication for one or more remote Git repositories. Follow the steps below to add your hosts and generate a ready-to-use config file.
Step 1: Add Git Hosts
For each remote Git repository, enter a unique Host alias (e.g., github-work), the HostName (e.g., github.com), your SSH User (usually git), and the path to your IdentityFile (private key). You can add multiple hosts for different repos or services.
Tool Features
Generate SSH configuration files for Git repositories with ease and security
Easy Configuration
Generate SSH config files for Git repositories with a simple step-by-step process
Multiple Hosts
Configure multiple Git hosts (GitHub, GitLab, Bitbucket) in one config file
Key Management
Assign different SSH keys to different Git repositories and accounts
Secure & Private
All processing happens in your browser. No data is sent to any server
How to Use Your SSH Config for Git
- Place the generated
configfile in your~/.ssh/directory. - Set correct permissions:
chmod 600 ~/.ssh/config - Use the Host alias in your git remote URL, e.g.,
git@github-work:username/repo.git - Each host entry can use a different SSH key for different GitHub, GitLab, Bitbucket, or private servers.
- Never share your private keys. Keep your
.ssh/configand keys secure.
Frequently Asked Questions
The .ssh/config file lets you define settings for connecting to remote servers via SSH, including aliases, keys, and options. For Git, it helps you manage multiple accounts or keys easily.
Add a Host entry for each remote (e.g., github-work, github-personal) with its own IdentityFile. Use the Host alias in your git remote URL instead of the actual hostname.
Yes. All config generation happens in your browser. No data is sent or stored anywhere. Your SSH keys and configuration remain completely private.
Set permissions to 600: chmod 600 ~/.ssh/config. This keeps your config private and secure.
Yes! You can add multiple Host entries for different Git hosting services. Each can use a different SSH key for different accounts.