Category: Linux

Fixing “client_loop: send disconnect: Broken pipe” in SSH — A Practical Guide

SSH dropping with client_loop: send disconnect: Broken pipe? It’s usually an idle timeout or flaky network. This guide shows quick client fixes (ServerAliveInterval, TCPKeepAlive, IPQoS), sensible server defaults (ClientAliveInterval), and a fast diagnosis playbook using ssh -vvv and server logs. We also cover resilient workflows—tmux, rsync, and mosh—so brief outages don’t kill your work.

Read More »

Curl to a Specific IP While Sending a Host Header (HTTPS-safe)

When you need to test a load balancer, CDN, or name-based virtual host, you often have to hit a specific IP while sending the real Host header. This guide shows the right way to do it with curl—for both HTTP and HTTPS—so SNI and certificate validation stay intact. You’ll learn when to use –resolve vs –connect-to, how to handle IPv6 and nonstandard ports, and get copy-paste examples plus a quick troubleshooting checklist.

Read More »

Quick Guide: Sync the Clock on Any Linux Server

Keep Linux clocks correct in seconds. This quick guide gives copy‑paste one‑liners for chrony, systemd‑timesyncd, and legacy ntpd across RHEL/Alma/Rocky, Amazon Linux, Ubuntu/Debian, and SUSE. Includes verification commands, common gotchas, and how to point at your own NTP servers.

Read More »

How to Log SSH Key Usage for Shared Accounts

Tracking SSH activity on shared accounts can be challenging. By default, logs only show that a public key was accepted, not which key. With a simple tweak to your sshd configuration, you can log the fingerprint of each key used, making it easy to trace access back to individual users. In this article, we’ll show you how to enable verbose logging, locate the right log files, and map fingerprints to people—giving you a reliable audit trail of SSH access.

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.