Ma

Make ssh config more manageable

Hacker News

Make ssh config more manageable

For those who are not familiar with the .ssh/config file, this is a nice way of making aliases when ssh-ing into a server. So instead of constantly typing: ssh root@mywebserveroverthere.somesubdomian.somedomain.com you can create an alias for it in a file called config in the .ssh directory like this: Host web1 HostName mywebserveroverthere.somesubdomian.somedomain.com User root IdentityFile ~/.ssh/id_rsa From now on you can just type: ssh web1 and you're in! However, over time my config file has gotten longer and longer, and is becoming harder to manage. It would be nice if I could split into individual files. Unfortunately the config file has no way of including other files, so ... Make to the rescue. 1. split your config files into meaningful files starting with config_ e.g. config_webservers config_dbs 2. create a file called Makefile in the .ssh directory and add the following: config: FORCE cat config_* > config FORCE: 3. Save the file note: the second line must begin with a tab or it wont work. 'FORCE' is a way to force the creation of a new file every time. Now you can update the individual files and when done, you can run Make config and it will produce a new config file for you. I'd appreciate your comments, or if you have a better way of doing this.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: user, new · Missing: mac, agents, macos
78%78% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: including · Missing: supports, reddit linkedin, podcasting
69%69% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io, including · Missing: https docs, excited, just released
51%51% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRFits verified-revenue profile · Strong signals: way · Missing: mobile apps, ios, personal
51%51% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: host · Missing: plus, platform, intuitive
31%31% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Se
Sedge, templating and sharing of SSH config47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sedge, templating and sharing of SSH config

Hacker News11
Ss
Sshit – quick and dirty ssh config management41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sshit – quick and dirty ssh config management

Hacker News2
Si
SirTunnel – Selfhosted, 0-config alternative to ngrok. Caddy+SSH+50 LOC61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SirTunnel – Selfhosted, 0-config alternative to ngrok. Caddy+SSH+50 LOC

Hacker News3
Si
Simple SSH config parser in Go46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Simple SSH config parser in Go

Hacker News4
On
Ondevice.io – ssh tunnel without router config55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ondevice.io – ssh tunnel without router config

Hacker News1
A
A drop-in for "SSH" that can save connection to SSH config file42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A drop-in for "SSH" that can save connection to SSH config file

Hacker News4
Stormd
Stormd20%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Store SSH config and keys on the cloud

Indie Hackers1productivity
SS
SSH for DigitalOcean63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SSH for DigitalOcean

Hacker News1
SS
SSH for EC269%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SSH for EC2

Hacker News4
Ss
Ssh-aliases63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Ssh-aliases

Hacker News2