> ## Content Index
> Fetch the complete content index at: https://linuxhandbook.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# LHB Linux Digest #26.17: SSH Config, Docker Compose Override, Bash History Tricks and More
- URL: https://linuxhandbook.com/newsletter/26-17/
- Published: 2026-10-30T12:19:19.000Z
- Updated: 2026-10-30T12:19:19.000Z
- Description: Type less, connect faster.
- Author: Abhishek Prakash
- Tags: Newsletter

This week is about doing less typing. You’ll learn how one small file can replace every long SSH command you type. There’s also a Docker Compose trick that keeps your custom changes safe from updates, and a Bash history tip that saves you retyping long paths.

## 🗄️ One file for every server

If you look after more than a couple of servers, you probably type things like this many times a day:

```
ssh -p 2222 -i ~/.ssh/id_ed25519 abhishek@203.0.113.10
```

You don’t need to. SSH reads `~/.ssh/config` before every connection. Save the details there once and give each server a short name:

```
Host web
    HostName 203.0.113.10
    User abhishek
    Port 2222
    IdentityFile ~/.ssh/id_ed25519

Host db
    HostName 10.0.0.5
    User admin
    ProxyJump web

Host *
    ServerAliveInterval 60
    ServerAliveCountMax 3
```

Now `ssh web` is enough. The `db` entry goes further. That database server sits on a private network, and `ProxyJump` sends you through `web` to reach it. You type `ssh db` and SSH does both hops for you.

The `Host *` block sets defaults for every server. Here it keeps idle sessions alive, so a quiet terminal doesn’t freeze with a “broken pipe” error. SSH uses the first value it finds for each option, so keep this catch-all block at the bottom of the file.

The aliases work with other tools as well. `scp backup.tar.gz web:/tmp/` and `rsync -av site/ web:/var/www/` both understand them. Keep the file private with `chmod 600 ~/.ssh/config`. SSH refuses to use it if other users can write to it.

The [SSH config file guide](https://linuxhandbook.com/ssh-config-file/) covers more options, including how to override a profile for a single connection. Once your aliases work, try [SSH tunneling](https://linuxhandbook.com/ssh-tunneling/) to reach services that aren’t open to the internet.

New to SSH? The free [SSH Fundamentals course](https://linuxhandbook.com/courses/ssh/) walks you through [key-based login](https://linuxhandbook.com/courses/ssh/module-6/) and [securing your server](https://linuxhandbook.com/courses/ssh/module-7/).

## 🐳 DevOps corner: override, don’t edit

Many self-hosted apps ship a `compose.yml` that gets replaced every time you update. If you change it directly, your next `git pull` fails with “local changes would be overwritten”.

Put your changes in a `compose.override.yml` next to it:

```
services:
  ghost:
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "3"
```

Docker Compose merges this file in automatically when you run `docker compose up`. The upstream file stays as it is, so updates go through cleanly. Run `docker compose config` to see the merged result before you restart anything.

I explain the full setup, with log rotation, in [how Docker Compose override fixed my Ghost server](https://linuxhandbook.com/blog/docker-compose-override-trick-ghost/). 

By the way, if you used Watchtower for automatic updates, here are [some alternatives that still work](https://linuxhandbook.com/blog/watchtower-like-docker-tools/).

## 💡 Quick terminal tip

The `!!` repeats the previous command, but Bash can also reuse the arguments from past commands.

Use `!command:1`, `!command:$`, and `!command:*` to retrieve the first, last, or all arguments from the previous command.

![](https://linuxhandbook.com/content/images/2026/10/using-arguments-in-terminal.png)

## 📦 Self-hosting: SnapOtter

[SnapOtter](https://github.com/snapotter-hq/snapotter?ref=linuxhandbook.com) is a self-hosted file-processing platform that helps you stop relying on dozens of online converters and utilities. From OCR and transcription to format conversion and PDF editing, it keeps file processing private by running everything on infrastructure you control.

[GitHub - snapotter-hq/SnapOtter: Open-source, self-hosted file-processing tool. Convert, compress, OCR, transcribe & run local AI across image, video, audio, PDF & documents, via UI, REST API & pipelines. Your files never leave your network.Open-source, self-hosted file-processing tool. Convert, compress, OCR, transcribe &amp; run local AI across image, video, audio, PDF &amp; documents, via UI, REST API &amp; pipelines. Your files ne…![](https://linuxhandbook.com/content/images/icon/favicon-d62bfa98-1531-49f6-8bf9-bac421fa4ae8.png)GitHub![](https://linuxhandbook.com/content/images/thumbnail/98a2ee90-97b2-4a9a-8efe-33ef5af509ac-860c0232-5bd8-483a-a209-e417b54cd5b1)](https://github.com/snapotter-hq/snapotter?ref=linuxhandbook.com)

[Self-host easily with PikaPods](https://www.pikapods.com/?ref=linuxhandbook.com). Get $5 free welcome credit to test out their service.

[PikaPods - Instant Open Source App HostingRun the finest Open Source apps from $1.80/month. Fully managed, continuously updated, no tracking or ads. Self-hosting was never this convenient.![](https://linuxhandbook.com/content/images/icon/favicon-4d171462-8f3b-4e67-9922-cd05f0db92e0.png)Instant Open Source App Hosting![](https://linuxhandbook.com/content/images/thumbnail/og_image-v2-1aae9cbb-1377-44cd-aba9-7c9df84d8e9e.jpg)](https://www.pikapods.com/?ref=linuxhandbook.com)

## 🛠️ Tool discovery: Noodle

[Noodle](https://github.com/wilfredinni/noodle?ref=linuxhandbook.com) is an open-source terminal REST client that lets you write, send, inspect, and automate HTTP requests from readable files. By keeping request collections versioned alongside the code they exercise, it bridges interactive API exploration, automation, and coding-agent workflows from a single workspace.

[GitHub - wilfredinni/noodle: A REST Client where the Repository is the WorkspaceA REST Client where the Repository is the Workspace - wilfredinni/noodle![](https://linuxhandbook.com/content/images/icon/favicon-9823b8a8-c603-459a-a9cf-75149dd10524.png)GitHub![](https://opengraph.githubassets.com/09c77b66300b12f7c9aa49831e5bc26bde23640bfae9075d3a3f6dc7f9a419e4/wilfredinni/noodle)](https://github.com/wilfredinni/noodle?ref=linuxhandbook.com)

## 📰 Linux news that matters

- [Anthropic used Claude to generate formal proofs for 123 OSS-Fuzz libraries](https://devops.com/claude-writes-180-million-lines-of-proofs-to-verify-123-open-source-libraries?ref=linuxhandbook.com), discovering bugs that years of fuzz testing had missed and demonstrating that AI could help make large-scale formal verification practical for software security.
- [AWS Lambda Web Functions](https://www.infoq.com/news/2026/10/aws-lambda-web-functions/?ref=linuxhandbook.com) allow developers to deploy standard Node.js web applications and frameworks directly on Lambda with concurrent request handling, response streaming, and built-in global routing, removing the need for adapters and much of the traditional HTTP infrastructure.
- [Amazon is discouraging "tokenmaxxing"](https://devops.com/amazon-warns-engineers-against-tokenmaxxing-as-ai-costs-mount?ref=linuxhandbook.com) and warning engineers not to use AI excessively just to boost productivity metrics. The company says software quality, customer outcomes, and business impact are better measures of success than token consumption or AI adoption rates.
- [Cisco has open-sourced Project Quarry](https://www.theregister.com/security/2026/10/28/cisco-open-sources-tool-for-detecting-ai-agents-on-hacking-sprees/5305867?ref=linuxhandbook.com), a security framework that detects suspicious AI agent behavior by analyzing entire action sequences rather than isolated events.
- [Gregory Kurtzer, creator of Rocky Linux, unveiled Ginux](https://itsfoss.com/news/ginux/?ref=linuxhandbook.com), a Rust-based kernel that can boot Rocky Linux userspace while remaining independent of the Linux kernel itself.
- [Tesco is reportedly planning to migrate store infrastructure from VMware to Proxmox](https://itsfoss.com/news/tesco-vmware-exit/?ref=linuxhandbook.com), adding another high-profile enterprise to the growing list evaluating open-source virtualization alternatives.

## 😂 Geek humor

![](https://linuxhandbook.com/content/images/2026/10/lhb-meme-oct-30.jpg)

## 💌 Keep on loving Linux Handbook

The AWS video course is in post-production.

[Become a Pro member](https://linuxhandbook.com/#/portal/signup) · [Browse courses](https://linuxhandbook.com/courses/) · [eBooks](https://linuxhandbook.com/ebooks/)

Missed the previous editions? You can [access the newsletter archives](https://linuxhandbook.com/newsletter/). 

I like reading your messages, so just hit reply and tell me how you are enjoying Linux 😄