<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ssh on Linux Café</title>
    <link>https://mrtomlinux.org/tags/ssh/</link>
    <description>Recent content in Ssh on Linux Café</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 31 Oct 2026 11:15:54 +0200</lastBuildDate>
    <atom:link href="https://mrtomlinux.org/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fixing ProxyJump timeouts when a VPN drops your IP address.</title>
      <link>https://mrtomlinux.org/post/2026-10-31-fixing-proxyjump-timeouts-when-a-vpn-drops-yo/</link>
      <pubDate>Sat, 31 Oct 2026 11:15:54 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-10-31-fixing-proxyjump-timeouts-when-a-vpn-drops-yo/</guid>
      <description>&lt;h2 id=&#34;proxyjump-timeouts-when-a-vpn-drops-your-ip-address&#34;&gt;ProxyJump timeouts when a VPN drops your IP address&lt;/h2&gt;&#xA;&lt;p&gt;When you hop through a bastion with &lt;code&gt;ssh -J&lt;/code&gt;, the jump host keeps a TCP tunnel open to the target.&lt;br&gt;&#xA;If you’re on a VPN that can change your public IP or even tear the tunnel down, that tunnel can stall or die.&lt;br&gt;&#xA;The result? A hanging SSH that eventually spits out “Connection timed out” or “Connection reset by peer”.&lt;br&gt;&#xA;For homelab users who rely on VPNs for remote access, this is the kind of annoyance that keeps you awake at night.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How a Forgotten SSH Key Stopped My Nightly Off‑Site Borg Backup and the Quick Fix I Implemented</title>
      <link>https://mrtomlinux.org/post/2026-10-01-how-a-forgotten-ssh-key-stopped-my-nightly-of/</link>
      <pubDate>Thu, 01 Oct 2026 08:23:50 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-10-01-how-a-forgotten-ssh-key-stopped-my-nightly-of/</guid>
      <description>&lt;h2 id=&#34;the-night-i-lost-an-offsite-borg-backup&#34;&gt;The night I lost an off‑site Borg backup&lt;/h2&gt;&#xA;&lt;p&gt;I run a 24/7 home‑lab server that backs up my home directories to a remote NAS with Borg. The backup is triggered by a systemd timer that fires every night at 02:00 UTC. For months it worked flawlessly, but one morning the timer ran, the job logged “ssh: connect to host …: Permission denied”, and the backup vanished into the night. The culprit? A forgotten SSH key.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Why ssh keeps spawning new processes on every connect and how ControlPersist solves it</title>
      <link>https://mrtomlinux.org/post/2026-09-20-why-ssh-keeps-spawning-new-processes-on-every/</link>
      <pubDate>Sun, 20 Sep 2026 12:02:28 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-09-20-why-ssh-keeps-spawning-new-processes-on-every/</guid>
      <description>&lt;h2 id=&#34;why-ssh-keeps-spawning-new-processes-on-every-connect&#34;&gt;Why SSH keeps spawning new processes on every connect&lt;/h2&gt;&#xA;&lt;p&gt;Every time I run &lt;code&gt;ssh host&lt;/code&gt;, the client forks a new process that talks to the remote &lt;code&gt;sshd&lt;/code&gt;.&lt;br&gt;&#xA;On the server side, &lt;code&gt;sshd&lt;/code&gt; spawns a child for each accepted connection.&lt;br&gt;&#xA;The model is simple and works fine for a handful of sessions, but it starts to feel like a drain when you:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;run a script that opens dozens of SSH connections in a row,&lt;/li&gt;&#xA;&lt;li&gt;use CI/CD pipelines that hit a remote host repeatedly, or&lt;/li&gt;&#xA;&lt;li&gt;have a home‑lab with many small services that need quick SSH access.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Each fork eats a few kilobytes of RAM and a handful of file descriptors.&lt;br&gt;&#xA;If you hit the per‑user process limit (&lt;code&gt;ulimit -u&lt;/code&gt;) or the system’s &lt;code&gt;max_user_processes&lt;/code&gt;, you’ll see “Too many users” or “Connection refused” errors.&lt;br&gt;&#xA;Even on a modest machine, the cumulative CPU cost of negotiating the SSH handshake over and over can add up.&lt;/p&gt;</description>
    </item>
    <item>
      <title>I lost SSH access to my home server after accidentally setting /home/user to 777 – how I restored it with a live USB</title>
      <link>https://mrtomlinux.org/post/2026-09-16-i-lost-ssh-access-to-my-home-server-after-acc/</link>
      <pubDate>Wed, 16 Sep 2026 08:51:00 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-09-16-i-lost-ssh-access-to-my-home-server-after-acc/</guid>
      <description>&lt;p&gt;I hit a wall yesterday when I accidentally set &lt;code&gt;/home/user&lt;/code&gt; to 777 and lost SSH access.&lt;br&gt;&#xA;The server was a 2026‑era Debian‑based homebox running systemd‑managed services.&lt;br&gt;&#xA;SSH refuses to log in if any file under the user’s home directory is writable by others, so the key‑based login failed immediately.&lt;br&gt;&#xA;The only way to fix it was to boot from a live USB, mount the root filesystem, and restore the correct ownership and permissions.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using SSH-Agent and Key Forwarding to Simplify Jump Host Hops</title>
      <link>https://mrtomlinux.org/post/2026-06-05-using-ssh-agent-and-key-forwarding-to-simplif/</link>
      <pubDate>Fri, 05 Jun 2026 10:36:59 +0200</pubDate>
      <guid>https://mrtomlinux.org/post/2026-06-05-using-ssh-agent-and-key-forwarding-to-simplif/</guid>
      <description>&lt;h2 id=&#34;introduction-to-ssh-agent-and-key-forwarding&#34;&gt;Introduction to SSH-Agent and Key Forwarding&lt;/h2&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve been using SSH for years, and one thing that&amp;rsquo;s always been a bit of a hassle is managing SSH keys and connections when working with multiple servers or jump hosts. That&amp;rsquo;s where SSH-Agent and key forwarding come in - they can simplify your SSH workflow and make it easier to access remote systems. In this article, I&amp;rsquo;ll cover how to use these features to improve your SSH experience.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
