MB Networks
CFG-09 · Remote access
Add a host entry per server — alias, port, identity file, jump host — and get a ~/.ssh/config you can paste in and start using with ssh <alias>.
~/.ssh/config
Append this to ~/.ssh/config (create it with chmod 600 if it doesn't exist yet) — SSH ignores config files with overly permissive permissions.
ProxyJump is the modern, one-line replacement for the old ProxyCommand ... nc %h %p incantation used to reach a server behind a bastion/jump host — set it to the jump host's alias (or user@host) and SSH handles the tunnel automatically. Anyone still copy-pasting a ProxyCommand line from a decade-old blog post can almost always replace it with one ProxyJump line.
A host entry turns ssh -i ~/.ssh/prod_key -p 2222 deploy@203.0.113.42 into ssh prod — and because tools like scp, rsync, and git all read the same file, the alias, port, user, and key apply everywhere automatically, not just to a manually-typed ssh command.
Almost always file permissions — SSH silently ignores a config file that's group- or world-writable. Run chmod 600 ~/.ssh/config and confirm ownership is your own user, not root or another account.
It sends a periodic keepalive packet so a NAT gateway or firewall doesn't silently drop an idle connection — the classic symptom it fixes is an SSH session that "freezes" after a few minutes of no typing, then eventually times out instead of just working.
Yes, and the first matching Host block wins for any given setting — SSH doesn't merge later blocks over earlier ones the way you might expect, so put more specific entries above more general ones (like a catch-all Host * block), not below.
Related tools
DevOps
rsync Command Builder
Build an rsync command from checkboxes with plain-English explanations of every flag — archive mode, deletes, excludes, dry-run, and SSH transport. No account, nothing leaves your browser.
Open →DevOps
Cron Expression Builder
Build or decode cron expressions. Enter a cron schedule and get a plain-English description plus the next 10 run times.
Open →DevOps
systemd Service & Timer Builder
Generate a systemd .service and .timer unit pair from a form — command, user, schedule, and the systemctl commands to enable it. No account, nothing leaves your browser.
Open →DevOps
chmod & umask Calculator
Convert Linux/Unix file permissions between checkboxes, symbolic notation, and octal — plus a umask calculator showing the resulting default file and directory permissions.
Open →DevOps
Crontab to systemd Timer Converter
Convert a crontab line into a systemd .service + .timer pair, including the two-OnCalendar-line trick for cron's day-of-month/day-of-week OR behavior. No account, nothing leaves your browser.
Open →DevOps
Docker Compose Generator
Build a valid Docker Compose file from a form — services, images, ports, volumes, environment variables, and restart policy. No account, nothing leaves your browser.
Open →